diff --git a/AtomUI.sln b/AtomUI.sln
index bf29748..64ef0fb 100644
--- a/AtomUI.sln
+++ b/AtomUI.sln
@@ -1,31 +1,34 @@
Microsoft Visual Studio Solution File, Format Version 12.00
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AtomUI.Theme", "src\AtomUI.Theme\AtomUI.Theme.csproj", "{87085491-3C99-4C8F-8FA6-F179B9569CE8}"
+# Visual Studio Version 17
+VisualStudioVersion = 17.11.35125.118
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AtomUI.Theme", "src\AtomUI.Theme\AtomUI.Theme.csproj", "{87085491-3C99-4C8F-8FA6-F179B9569CE8}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AtomUI.Base", "src\AtomUI.Base\AtomUI.Base.csproj", "{8FFEB15F-7E48-4AF4-B708-8E96A68CF2D9}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AtomUI.Base", "src\AtomUI.Base\AtomUI.Base.csproj", "{8FFEB15F-7E48-4AF4-B708-8E96A68CF2D9}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AtomUI.Icon", "src\AtomUI.Icon\AtomUI.Icon.csproj", "{B2A7349B-4B38-45CB-8D22-3E06D1E3650F}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AtomUI.Icon", "src\AtomUI.Icon\AtomUI.Icon.csproj", "{B2A7349B-4B38-45CB-8D22-3E06D1E3650F}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AtomUI.Icon.Generator", "src\AtomUI.Icon.Generator\AtomUI.Icon.Generator.csproj", "{954FB7F2-7706-4E2B-86D1-624F66C1EFF0}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AtomUI.Icon.Generator", "src\AtomUI.Icon.Generator\AtomUI.Icon.Generator.csproj", "{954FB7F2-7706-4E2B-86D1-624F66C1EFF0}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AtomUI.Icon.AntDesign", "src\AtomUI.Icon.AntDesign\AtomUI.Icon.AntDesign.csproj", "{021AE0B0-B148-4925-9C22-EBD5A7B43E95}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AtomUI.Icon.AntDesign", "src\AtomUI.Icon.AntDesign\AtomUI.Icon.AntDesign.csproj", "{021AE0B0-B148-4925-9C22-EBD5A7B43E95}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AtomUI.Generator", "src\AtomUI.Generator\AtomUI.Generator.csproj", "{30910056-F8F6-4429-B25E-722C57440210}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AtomUI.Generator", "src\AtomUI.Generator\AtomUI.Generator.csproj", "{30910056-F8F6-4429-B25E-722C57440210}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AtomUI.Demo.Desktop", "Samples\AtomUI.Demo.Desktop\AtomUI.Demo.Desktop.csproj", "{59931F42-8DD8-4DFC-9060-563841F39669}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AtomUI.Demo.Desktop", "Samples\AtomUI.Demo.Desktop\AtomUI.Demo.Desktop.csproj", "{59931F42-8DD8-4DFC-9060-563841F39669}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AtomUI.TestBase", "tests\AtomUI.TestBase\AtomUI.TestBase.csproj", "{EADEF2AC-B7E5-436A-8B39-8BBECF8706AB}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AtomUI.TestBase", "tests\AtomUI.TestBase\AtomUI.TestBase.csproj", "{EADEF2AC-B7E5-436A-8B39-8BBECF8706AB}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AtomUI.Base.Tests", "tests\AtomUI.Base.Tests\AtomUI.Base.Tests.csproj", "{E41D737A-5CF0-4B33-9F51-2C1B1541659C}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AtomUI.Base.Tests", "tests\AtomUI.Base.Tests\AtomUI.Base.Tests.csproj", "{E41D737A-5CF0-4B33-9F51-2C1B1541659C}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AtomUI.Controls", "src\AtomUI.Controls\AtomUI.Controls.csproj", "{A07CB66E-7A5F-4C44-BB16-02A0A99D6C2D}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AtomUI.Controls", "src\AtomUI.Controls\AtomUI.Controls.csproj", "{A07CB66E-7A5F-4C44-BB16-02A0A99D6C2D}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{5EB2524C-30A5-4031-B424-4510E36C753E}"
ProjectSection(SolutionItems) = preProject
- Directory.Build.props = Directory.Build.props
- Directory.Packages.props = Directory.Packages.props
- Directory.Build.targets = Directory.Build.targets
build\Common.props = build\Common.props
+ Directory.Build.props = Directory.Build.props
+ Directory.Build.targets = Directory.Build.targets
+ Directory.Packages.props = Directory.Packages.props
build\Internal.Using.props = build\Internal.Using.props
build\Nuget.props = build\Nuget.props
build\Output.App.props = build\Output.App.props
@@ -38,7 +41,14 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{279BC2C9
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Generators", "Generators", "{B4C46C3E-0CCC-4861-95B6-CA08D501A46F}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AtomUI", "packages\AtomUI\AtomUI.csproj", "{89A98C0D-B6F7-48CD-91C4-79FC0FED3615}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AtomUI", "packages\AtomUI\AtomUI.csproj", "{89A98C0D-B6F7-48CD-91C4-79FC0FED3615}"
+ ProjectSection(ProjectDependencies) = postProject
+ {021AE0B0-B148-4925-9C22-EBD5A7B43E95} = {021AE0B0-B148-4925-9C22-EBD5A7B43E95}
+ {87085491-3C99-4C8F-8FA6-F179B9569CE8} = {87085491-3C99-4C8F-8FA6-F179B9569CE8}
+ {8FFEB15F-7E48-4AF4-B708-8E96A68CF2D9} = {8FFEB15F-7E48-4AF4-B708-8E96A68CF2D9}
+ {A07CB66E-7A5F-4C44-BB16-02A0A99D6C2D} = {A07CB66E-7A5F-4C44-BB16-02A0A99D6C2D}
+ {B2A7349B-4B38-45CB-8D22-3E06D1E3650F} = {B2A7349B-4B38-45CB-8D22-3E06D1E3650F}
+ EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -73,15 +83,12 @@ Global
{59931F42-8DD8-4DFC-9060-563841F39669}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{59931F42-8DD8-4DFC-9060-563841F39669}.Debug|Any CPU.Build.0 = Debug|Any CPU
{59931F42-8DD8-4DFC-9060-563841F39669}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {59931F42-8DD8-4DFC-9060-563841F39669}.Release|Any CPU.Build.0 = Release|Any CPU
{EADEF2AC-B7E5-436A-8B39-8BBECF8706AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EADEF2AC-B7E5-436A-8B39-8BBECF8706AB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EADEF2AC-B7E5-436A-8B39-8BBECF8706AB}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {EADEF2AC-B7E5-436A-8B39-8BBECF8706AB}.Release|Any CPU.Build.0 = Release|Any CPU
{E41D737A-5CF0-4B33-9F51-2C1B1541659C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E41D737A-5CF0-4B33-9F51-2C1B1541659C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E41D737A-5CF0-4B33-9F51-2C1B1541659C}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {E41D737A-5CF0-4B33-9F51-2C1B1541659C}.Release|Any CPU.Build.0 = Release|Any CPU
{A07CB66E-7A5F-4C44-BB16-02A0A99D6C2D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A07CB66E-7A5F-4C44-BB16-02A0A99D6C2D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A07CB66E-7A5F-4C44-BB16-02A0A99D6C2D}.Release|Any CPU.ActiveCfg = Release|Any CPU
@@ -89,13 +96,18 @@ Global
{89A98C0D-B6F7-48CD-91C4-79FC0FED3615}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{89A98C0D-B6F7-48CD-91C4-79FC0FED3615}.Debug|Any CPU.Build.0 = Debug|Any CPU
{89A98C0D-B6F7-48CD-91C4-79FC0FED3615}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {89A98C0D-B6F7-48CD-91C4-79FC0FED3615}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
- {E41D737A-5CF0-4B33-9F51-2C1B1541659C} = {279BC2C9-A818-4D6C-9274-678649932057}
- {59931F42-8DD8-4DFC-9060-563841F39669} = {279BC2C9-A818-4D6C-9274-678649932057}
{954FB7F2-7706-4E2B-86D1-624F66C1EFF0} = {B4C46C3E-0CCC-4861-95B6-CA08D501A46F}
{30910056-F8F6-4429-B25E-722C57440210} = {B4C46C3E-0CCC-4861-95B6-CA08D501A46F}
+ {59931F42-8DD8-4DFC-9060-563841F39669} = {279BC2C9-A818-4D6C-9274-678649932057}
{EADEF2AC-B7E5-436A-8B39-8BBECF8706AB} = {279BC2C9-A818-4D6C-9274-678649932057}
+ {E41D737A-5CF0-4B33-9F51-2C1B1541659C} = {279BC2C9-A818-4D6C-9274-678649932057}
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {056F1B83-F604-4F7D-A255-0B40FB31A8F6}
EndGlobalSection
EndGlobal
diff --git a/AtomUI.sln.DotSettings b/AtomUI.sln.DotSettings
index 0a9b71f..e039917 100644
--- a/AtomUI.sln.DotSettings
+++ b/AtomUI.sln.DotSettings
@@ -23,4 +23,5 @@
True
True
True
+ True
True
\ No newline at end of file
diff --git a/Directory.Packages.props b/Directory.Packages.props
index a000cf5..ddc9f48 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -1,5 +1,4 @@
-
true
@@ -12,6 +11,8 @@
+
+
diff --git a/README.md b/README.md
index 9b93967..49d7ca3 100644
--- a/README.md
+++ b/README.md
@@ -33,107 +33,69 @@
Documentation Language: [English](README.md) | [简体中文](README.zh-CN.md)
+
+
#### Introduce
AtomUI is an implementation of Ant Design based on .NET technology, dedicated to bringing the excellent and efficient design language and experience of Ant Design to the Avalonia/.NET cross-platform desktop software development field.
Welcome to communicate and give suggestions to AtomUI, thank you for giving the project a Star.
+
-#### Control library completion
+#### Features
-##### General
-| Control Name | Status |
-|:-------------|:-----------|
-| Button | Completed ✅|
-| PathIcon | Completed ✅|
-| SpiltButton | Completed ✅|
-
-##### Navigation
-| Control Name | Status |
-|:-------------|:------------|
-| Breadcrumb | TODO |
-| Dropdown | Completed ✅ |
-| Menu | Completed ✅ |
-| Pagination | TODO |
-| Steps | TODO |
-
-##### Data Entry
-| Control Name | Status |
-|:----------------|:---------------|
-| AutoComplete | TODO |
-| Cascader | TODO |
-| Checkbox | Completed ✅ |
-| ColorPicker | Developing 💪 |
-| DatePicker | Developing 💪 |
-| Form | TODO |
-| Input | Completed ✅ |
-| NumberUpDown | Completed ✅ |
-| ButtonSpinner | Completed ✅ |
-| Mentions | TODO |
-| Radio | Completed ✅ |
-| OptionButtonBox | Completed ✅ |
-| Rate | TODO |
-| Select | TODO |
-| Slider | Completed ✅ |
-| Switch | Completed ✅ |
-| TimePicker | Completed ✅ |
-| Transfer | TODO |
-| Upload | Need Review 🤔 |
-
-##### Data Display
-| Control Name | Status |
-|:---------------|:---------------|
-| Avatar | TODO |
-| Badge | Completed ✅ |
-| Calendar | Developing 💪|
-| Card | TODO |
-| GroupBox | Completed ✅ |
-| Carousel | Developing 💪 |
-| Collapse | Completed ✅ |
-| Expander | Completed ✅ |
-| Descriptions | TODO |
-| EmptyIndicator | Completed ✅ |
-| Image | TODO |
-| ListBox | Completed ✅ |
-| Popover | Completed ✅ |
-| QRCode | TODO |
-| Segmented | Completed ✅ |
-| Statistic | TODO |
-| Table | TODO |
-| TabControl | Completed ✅ |
-| Tag | Completed ✅ |
-| Timeline | Developing 💪 |
-| Tooltip | Completed ✅ |
-| Tour | TODO |
-| Tree | Completed ✅ |
-
-##### Feedback
-| Control Name | Status |
-|:-------------------|:-----------|
-| Alert | Completed ✅ |
-| Drawer | Completed ✅ |
-| Message | Completed ✅ |
-| Modal | Developing 💪 |
-| Notification | Completed ✅ |
-| Popconfirm | Completed ✅ |
-| ProgressBar | Completed ✅ |
-| Result | Need Review 🤔 |
-| Skeleton | TODO |
-| LoadingIndicator | Completed ✅ |
-| Watermark | Completed ✅|
+- Enterprise-class UI designed from Ant Design system for cross platform desktop applications.
+- A set of high-quality Avalonia Controls out of the box.
+- Use .NET development to achieve one-stop writing, seamless compilation on mainstream operating system platforms and render a consistent UI experience.
+- Based on Avalonia's powerful style system, Ant Design's theme customization capabilities are fully implemented.
#### Some screenshots of the running effect
-#### Button Controls
-
-![Button](docs/images/controls/ButtonControl.png)
-
-#### Progress bar control
-![Progress](docs/images/controls/ProgressBarControl.png)
-
-#### Slider control
-![Slider](docs/images/controls/SliderControl.png)
+
+
+
+
+
+ |
+
+
+ |
+
+
+
+
+ |
+
+
+ |
+
+
+
+
+ |
+
+
+ |
+
+
+
+
+ |
+
+
+ |
+
+
+
+
+ |
+
+
+ |
+
+
+
diff --git a/README.zh-CN.md b/README.zh-CN.md
index d1329a1..261a6b9 100644
--- a/README.zh-CN.md
+++ b/README.zh-CN.md
@@ -33,16 +33,21 @@
文档语言: [English](README.md) | [简体中文](README.zh-CN.md)
+
+
#### 介绍
AtomUI 是基于 .NET 技术的 Ant Design 实现,致力于将 Ant Design 优秀而高效的设计语言和体验带入 Avalonia/.NET 跨平台桌面软件开发领域。
欢迎与 AtomUI 进行交流并提出建议,感谢您为该项目点赞。
-#### 感谢 Gitee 对 AtomUI 的认可
+
-
-
-
+#### 特性
+
+- 实现 Ant Design 提炼自企业级中后台产品的交互语言和视觉风格。
+- 开箱即用的高质量 Avalonia 组件。
+- 使用 .NET 开发,实现一处编写,无缝在主流操作系统平台编译并且渲染出一致的 UI 体验。
+- 基于 Avalonia 强大的风格系统,完整实现了 Ant Design 的主题定制能力。
#### 运行环境
@@ -50,6 +55,12 @@ AtomUI 是基于 .NET 技术的 Ant Design 实现,致力于将 Ant Design 优
Avalonia 11.1.1 及其以上
PS: AtomUI 目前仅在 Windows 11 平台测试
+#### 感谢 Gitee 对 AtomUI 的认可
+
+
+
+
+
#### 中文社区
目前我们暂时只创建 QQ 和微信开发者群的交流方式,下面是二维码,有兴趣的同学可以扫码加入:
@@ -64,106 +75,56 @@ PS: AtomUI 目前仅在 Windows 11 平台测试
-
> PS:扫码请注明来意,比如:学习`AtomUI`或者`Avalonia`爱好者
-#### 当前完成度
-##### (通用) General
-| Control Name | Status |
-|:-------------|:-------|
-| Button | 已完成 ✅ |
-| PathIcon | 已完成 ✅ |
-| SpiltButton | 已完成 ✅ |
-
-##### (导航)Navigation
-| 控件名 | 完成情况 |
-|:---------------|:-------|
-| Breadcrumb 面包屑 | 未完成 |
-| Dropdown 下拉菜单 | 已完成 ✅ |
-| Menu 导航菜单 | 已完成 ✅ |
-| Pagination 分页 | 进行中 💪 |
-| Steps 步骤条 | 未完成 |
-
-##### (数据录入)Data Entry
-| 控件名 | 完成情况 |
-|:---------------------|:-------|
-| AutoComplete 自动完成 | 未完成 |
-| ComboBox 下拉选择 | 进行中 💪 |
-| Cascader 级联选择 | 未完成 |
-| Checkbox 多选框 | 已完成 ✅ |
-| ColorPicker 颜色选择器 | 进行中 💪 |
-| DatePicker 日期选择框 | 进行中 💪 |
-| Form 表单 | 未完成 |
-| Input 输入框 | 已完成 ✅ |
-| NumberUpDown 数字输入框 | 已完成 ✅ |
-| ButtonSpinner 按钮切换控件 | 已完成 ✅ |
-| Mentions 提及 | 未完成 |
-| Radio 单选框 | 已完成 ✅ |
-| OptionButtonBox 单选组 | 已完成 ✅ |
-| Rate 评分 | 未完成 |
-| Select 选择器 | 进行中 💪 |
-| Slider 滑动输入条 | 已完成 ✅ |
-| Switch 开关 | 已完成 ✅ |
-| TimePicker 时间选择框 | 已完成 ✅ |
-| Transfer 穿梭框 | 未完成 |
-| Upload 上传 | 需评估 🤔 |
-
-##### (数据展示)Data Display
-| 控件名 | 完成情况 |
-|:-----------------------|:-------|
-| Avatar 头像 | 未完成 |
-| Badge 徽标数 | 已完成 ✅ |
-| Calendar 日历 | 进行中 💪 |
-| Card 卡片 | 未完成 |
-| GroupBox 控件 | 已完成 ✅ |
-| Carousel 走马灯 | 进行中 💪 |
-| Collapse 折叠面板 | 已完成 ✅ |
-| Expander 折叠面板 | 已完成 ✅ |
-| Descriptions 描述列表 | 未完成 |
-| EmptyIndicator 空状态 | 已完成 ✅ |
-| PathIcon 图标 | 已完成 ✅ |
-| Image 图片 | 未完成 |
-| ListBox 列表 | 已完成 ✅ |
-| Popover 气泡卡片 | 已完成 ✅ |
-| QRCode 二维码 | 未完成 |
-| Segmented 分段控制器 | 已完成 ✅ |
-| Statistic 统计数值 | 未完成 |
-| Table 表格 | 未完成 |
-| TabControl 标签页 | 已完成 ✅ |
-| Tag 标签 | 已完成 ✅ |
-| MarqueeLabel 跑马灯 Label | 已完成 ✅ |
-| Timeline 时间轴 | 进行中 💪 |
-| Tooltip 文字提示 | 已完成 ✅ |
-| Tour 漫游式引导 | 未完成 |
-| Tree 树形控件 | 已完成 ✅ |
-
-##### (反馈)Feedback
-| 控件名 | 完成情况 |
-|:---------------------|:-------|
-| Alert 警告提示 | 已完成 ✅ |
-| Drawer 抽屉 | 已完成 ✅ |
-| Message 全局提示 | 已完成 ✅ |
-| Modal 对话框 | 进行中 💪 |
-| Notification 通知提醒框 | 已完成 ✅ |
-| Popconfirm 气泡确认框 | 已完成 ✅ |
-| ProgressBar 进度条 | 已完成 ✅ |
-| Result 结果 | 需评估 🤔 |
-| Skeleton 骨架屏 | 未完成 |
-| LoadingIndicator 加载中 | 已完成 ✅ |
-| Watermark 水印 | 已完成 ✅ |
-
#### 运行效果部分截图
-#### 按钮控件
-
-![按钮控件](docs/images/controls/ButtonControl.png)
-
-#### 进度条控件
-![进度条控件](docs/images/controls/ProgressBarControl.png)
-
-#### Slider 控件
-![Slider 控件](docs/images/controls/SliderControl.png)
+
+
+
+
+
+ |
+
+
+ |
+
+
+
+
+ |
+
+
+ |
+
+
+
+
+ |
+
+
+ |
+
+
+
+
+ |
+
+
+ |
+
+
+
+
+ |
+
+
+ |
+
+
+
diff --git a/build/!Package.All.Release.bat b/build/!Package.All.Release.bat
index 579254e..6c78243 100644
--- a/build/!Package.All.Release.bat
+++ b/build/!Package.All.Release.bat
@@ -1,9 +1,13 @@
%~dp0
-rd/s/q ..\_output\
+rd/s/q ../_output/
-cd ..\
+cd ../
-dotnet msbuild .\AtomUI.sln /p:Configuration=Release
+dotnet msbuild ./AtomUI.sln /p:Configuration=Release
+
+cd packages/AtomUI/
+
+dotnet msbuild ./AtomUI.csproj /p:Configuration=Release
pause
\ No newline at end of file
diff --git a/build/CoreLibraries.props b/build/CoreLibraries.props
deleted file mode 100644
index 6dda09c..0000000
--- a/build/CoreLibraries.props
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/build/Version.props b/build/Version.props
index 7212cfe..93b72cb 100644
--- a/build/Version.props
+++ b/build/Version.props
@@ -3,8 +3,8 @@
$(NoWarn);CS7035
- 11.1.2
- 11.1.2
+ 11.1.3
+ 11.1.3
0.0.1
$(LibVersion)-local.1
$(LibVersion)-preview.1
diff --git a/docs/images/Gallery.png b/docs/images/Gallery.png
new file mode 100644
index 0000000..00a4a70
Binary files /dev/null and b/docs/images/Gallery.png differ
diff --git a/docs/images/Release.jpg b/docs/images/Release.jpg
new file mode 100644
index 0000000..8994ef1
Binary files /dev/null and b/docs/images/Release.jpg differ
diff --git a/docs/images/controls/Badge.png b/docs/images/controls/Badge.png
new file mode 100644
index 0000000..670c91d
Binary files /dev/null and b/docs/images/controls/Badge.png differ
diff --git a/docs/images/controls/Button.png b/docs/images/controls/Button.png
new file mode 100644
index 0000000..cf1d664
Binary files /dev/null and b/docs/images/controls/Button.png differ
diff --git a/docs/images/controls/ButtonControl.png b/docs/images/controls/ButtonControl.png
deleted file mode 100644
index 1ba8b6d..0000000
Binary files a/docs/images/controls/ButtonControl.png and /dev/null differ
diff --git a/docs/images/controls/DatePicker.png b/docs/images/controls/DatePicker.png
new file mode 100644
index 0000000..b01e029
Binary files /dev/null and b/docs/images/controls/DatePicker.png differ
diff --git a/docs/images/controls/LineEdit.png b/docs/images/controls/LineEdit.png
new file mode 100644
index 0000000..a816d75
Binary files /dev/null and b/docs/images/controls/LineEdit.png differ
diff --git a/docs/images/controls/Menu.png b/docs/images/controls/Menu.png
new file mode 100644
index 0000000..56cb6ef
Binary files /dev/null and b/docs/images/controls/Menu.png differ
diff --git a/docs/images/controls/Notification.png b/docs/images/controls/Notification.png
new file mode 100644
index 0000000..f20f0b1
Binary files /dev/null and b/docs/images/controls/Notification.png differ
diff --git a/docs/images/controls/PopupConfirm.png b/docs/images/controls/PopupConfirm.png
new file mode 100644
index 0000000..f5c7a3c
Binary files /dev/null and b/docs/images/controls/PopupConfirm.png differ
diff --git a/docs/images/controls/ProgressBarControl.png b/docs/images/controls/ProgressBar.png
similarity index 100%
rename from docs/images/controls/ProgressBarControl.png
rename to docs/images/controls/ProgressBar.png
diff --git a/docs/images/controls/RadioButton.png b/docs/images/controls/RadioButton.png
new file mode 100644
index 0000000..f00e1fb
Binary files /dev/null and b/docs/images/controls/RadioButton.png differ
diff --git a/docs/images/controls/SliderControl.png b/docs/images/controls/SliderControl.png
deleted file mode 100644
index 19d5fb7..0000000
Binary files a/docs/images/controls/SliderControl.png and /dev/null differ
diff --git a/docs/images/controls/TreeView.png b/docs/images/controls/TreeView.png
new file mode 100644
index 0000000..cb9587b
Binary files /dev/null and b/docs/images/controls/TreeView.png differ
diff --git a/packages/AtomUI/AtomUI.csproj b/packages/AtomUI/AtomUI.csproj
index 8e551c7..36a5d9f 100644
--- a/packages/AtomUI/AtomUI.csproj
+++ b/packages/AtomUI/AtomUI.csproj
@@ -1,14 +1,42 @@
-
+
-
-
-
- net6.0
- enable
- enable
- AtomUI
-
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/samples/AtomUI.Demo.Desktop/App.axaml b/samples/AtomUI.Demo.Desktop/App.axaml
deleted file mode 100644
index 89f21aa..0000000
--- a/samples/AtomUI.Demo.Desktop/App.axaml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/App.axaml.cs b/samples/AtomUI.Demo.Desktop/App.axaml.cs
deleted file mode 100644
index 19e13d4..0000000
--- a/samples/AtomUI.Demo.Desktop/App.axaml.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-using AtomUI.Demo.Desktop.Views;
-using Avalonia;
-using Avalonia.Controls.ApplicationLifetimes;
-using Avalonia.Markup.Xaml;
-
-namespace AtomUI.Demo.Desktop;
-
-public class App : Application
-{
- public override void Initialize()
- {
- AvaloniaXamlLoader.Load(this);
- }
-
- public override void OnFrameworkInitializationCompleted()
- {
- switch (ApplicationLifetime)
- {
- case IClassicDesktopStyleApplicationLifetime desktop:
- desktop.MainWindow = new MainWindow();
- break;
- case ISingleViewApplicationLifetime singleView:
- singleView.MainView = new MainView();
- break;
- }
-
- base.OnFrameworkInitializationCompleted();
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/Assets/ATOMUI-LOGO.png b/samples/AtomUI.Demo.Desktop/Assets/ATOMUI-LOGO.png
deleted file mode 100644
index 82bd40d..0000000
Binary files a/samples/AtomUI.Demo.Desktop/Assets/ATOMUI-LOGO.png and /dev/null differ
diff --git a/samples/AtomUI.Demo.Desktop/Assets/EmptyShowCase/empty.svg b/samples/AtomUI.Demo.Desktop/Assets/EmptyShowCase/empty.svg
deleted file mode 100644
index b3f7ef0..0000000
--- a/samples/AtomUI.Demo.Desktop/Assets/EmptyShowCase/empty.svg
+++ /dev/null
@@ -1,43 +0,0 @@
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/Assets/avalonia-logo.ico b/samples/AtomUI.Demo.Desktop/Assets/avalonia-logo.ico
deleted file mode 100644
index da8d49f..0000000
Binary files a/samples/AtomUI.Demo.Desktop/Assets/avalonia-logo.ico and /dev/null differ
diff --git a/samples/AtomUI.Demo.Desktop/Assets/watermark-sample.png b/samples/AtomUI.Demo.Desktop/Assets/watermark-sample.png
deleted file mode 100644
index 15c73c9..0000000
Binary files a/samples/AtomUI.Demo.Desktop/Assets/watermark-sample.png and /dev/null differ
diff --git a/samples/AtomUI.Demo.Desktop/AtomUI.Demo.Desktop.csproj b/samples/AtomUI.Demo.Desktop/AtomUI.Demo.Desktop.csproj
deleted file mode 100644
index 20eb948..0000000
--- a/samples/AtomUI.Demo.Desktop/AtomUI.Demo.Desktop.csproj
+++ /dev/null
@@ -1,46 +0,0 @@
-
-
-
-
-
- WinExe
- net8.0
- AtomUI.Demo.Desktop
-
- true
-
-
-
-
-
-
-
-
-
-
-
- true
- true
- true
-
-
-
- true
- app.manifest
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/samples/AtomUI.Demo.Desktop/AtomUI.Demo.Desktop.csproj.DotSettings b/samples/AtomUI.Demo.Desktop/AtomUI.Demo.Desktop.csproj.DotSettings
deleted file mode 100644
index afb8627..0000000
--- a/samples/AtomUI.Demo.Desktop/AtomUI.Demo.Desktop.csproj.DotSettings
+++ /dev/null
@@ -1,5 +0,0 @@
-
- True
- True
- True
- False
diff --git a/samples/AtomUI.Demo.Desktop/Base/ShowCaseItem.cs b/samples/AtomUI.Demo.Desktop/Base/ShowCaseItem.cs
deleted file mode 100644
index 576a1ef..0000000
--- a/samples/AtomUI.Demo.Desktop/Base/ShowCaseItem.cs
+++ /dev/null
@@ -1,65 +0,0 @@
-using AtomUI.Controls;
-using Avalonia;
-using Avalonia.Controls;
-using Avalonia.LogicalTree;
-using Avalonia.Media;
-using Separator = AtomUI.Controls.Separator;
-
-namespace AtomUI.Demo.Desktop;
-
-public class ShowCaseItem : ContentControl
-{
- private bool _initialized;
- public string Title { get; set; } = string.Empty;
- public string Description { get; set; } = string.Empty;
-
- private void SetupUi()
- {
- var mainLayout = new StackPanel();
- var showCaseTitle = new Separator
- {
- Title = Title,
- TitlePosition = SeparatorTitlePosition.Left,
- FontWeight = FontWeight.Bold
- };
-
- if (Content is Control contentControl)
- {
- LogicalChildren.Remove(contentControl);
- mainLayout.Children.Add(contentControl);
- }
-
- mainLayout.Children.Add(new Border
- {
- Height = 10,
- Background = Brushes.Transparent
- });
- mainLayout.Children.Add(showCaseTitle);
- mainLayout.Children.Add(new TextBlock
- {
- Text = Description,
- TextWrapping = TextWrapping.Wrap,
- Margin = new Thickness(0, 10, 0, 0)
- });
-
- var outerBorder = new Border
- {
- BorderBrush = new SolidColorBrush(new Color(10, 5, 5, 5)),
- BorderThickness = new Thickness(1),
- Padding = new Thickness(20),
- Child = mainLayout,
- CornerRadius = new CornerRadius(8)
- };
-
- Content = outerBorder;
- }
-
- protected override void OnAttachedToLogicalTree(LogicalTreeAttachmentEventArgs e)
- {
- if (!_initialized)
- {
- SetupUi();
- _initialized = true;
- }
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/Base/ShowCasePanel.cs b/samples/AtomUI.Demo.Desktop/Base/ShowCasePanel.cs
deleted file mode 100644
index 4c3bcf6..0000000
--- a/samples/AtomUI.Demo.Desktop/Base/ShowCasePanel.cs
+++ /dev/null
@@ -1,94 +0,0 @@
-using Avalonia;
-using Avalonia.Controls;
-using Avalonia.Controls.Primitives;
-using Avalonia.Layout;
-using Avalonia.LogicalTree;
-using Avalonia.Metadata;
-using AvaloniaControlList = Avalonia.Controls.Controls;
-
-namespace AtomUI.Demo.Desktop;
-
-public class ShowCasePanel : Control
-{
- public string? Id { get; protected set; }
- private bool _initialized;
- private StackPanel _leftContainer = default!;
- private StackPanel _rightContainer = default!;
-
- [Content] public AvaloniaControlList Children { get; } = new();
-
- protected void SetupUi()
- {
- var mainLayout = new UniformGrid
- {
- Rows = 1,
- Columns = 2,
- Margin = new Thickness(0)
- };
- _leftContainer = new StackPanel
- {
- Orientation = Orientation.Vertical,
- Spacing = 10,
- Margin = new Thickness(0, 0, 10, 0)
- };
- _rightContainer = new StackPanel
- {
- Orientation = Orientation.Vertical,
- Spacing = 10
- };
- mainLayout.Children.Add(_leftContainer);
- mainLayout.Children.Add(_rightContainer);
-
- for (var i = 0; i < Children.Count; ++i)
- {
- var control = Children[i];
- if (i % 2 == 0)
- {
- _leftContainer.Children.Add(control);
- }
- else
- {
- _rightContainer.Children.Add(control);
- }
- }
-
- var scrollView = new ScrollViewer
- {
- Content = mainLayout
- };
- LogicalChildren.Add(scrollView);
- VisualChildren.Add(scrollView);
- }
-
- protected override void OnAttachedToLogicalTree(LogicalTreeAttachmentEventArgs e)
- {
- if (!_initialized)
- {
- SetupUi();
- NotifyShowCaseLayoutReady();
- _initialized = true;
- }
-
- base.OnAttachedToLogicalTree(e);
- }
-
- internal virtual void NotifyAboutToActive()
- {
- }
-
- internal virtual void NotifyActivated()
- {
- }
-
- internal virtual void NotifyAboutToDeactivated()
- {
- }
-
- internal virtual void NotifyDeactivated()
- {
- }
-
- protected virtual void NotifyShowCaseLayoutReady()
- {
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/Controls/Colors/ColorItemControl.axaml b/samples/AtomUI.Demo.Desktop/Controls/Colors/ColorItemControl.axaml
deleted file mode 100644
index 96f4e4e..0000000
--- a/samples/AtomUI.Demo.Desktop/Controls/Colors/ColorItemControl.axaml
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/Controls/Colors/ColorItemControl.cs b/samples/AtomUI.Demo.Desktop/Controls/Colors/ColorItemControl.cs
deleted file mode 100644
index 28884ce..0000000
--- a/samples/AtomUI.Demo.Desktop/Controls/Colors/ColorItemControl.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-using AtomUI.Demo.Desktop.ViewModels;
-using Avalonia;
-using Avalonia.Controls.Primitives;
-using Avalonia.Input;
-using CommunityToolkit.Mvvm.Messaging;
-
-namespace AtomUI.Demo.Desktop.Controls;
-
-public class ColorItemControl : TemplatedControl
-{
- public static readonly StyledProperty ColorNameProperty =
- AvaloniaProperty.Register(
- nameof(ColorName));
-
- public string? ColorName
- {
- get => GetValue(ColorNameProperty);
- set => SetValue(ColorNameProperty, value);
- }
-
- public static readonly StyledProperty HexProperty = AvaloniaProperty.Register(
- nameof(Hex));
-
- public string? Hex
- {
- get => GetValue(HexProperty);
- set => SetValue(HexProperty, value);
- }
-
- protected override void OnPointerPressed(PointerPressedEventArgs e)
- {
- base.OnPointerPressed(e);
- if (DataContext is ColorItemViewModel v)
- {
- WeakReferenceMessenger.Default.Send(v);
- }
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/Controls/Colors/ColorListControl.axaml b/samples/AtomUI.Demo.Desktop/Controls/Colors/ColorListControl.axaml
deleted file mode 100644
index ce5fb48..0000000
--- a/samples/AtomUI.Demo.Desktop/Controls/Colors/ColorListControl.axaml
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/Controls/Colors/ColorListControl.cs b/samples/AtomUI.Demo.Desktop/Controls/Colors/ColorListControl.cs
deleted file mode 100644
index 402783a..0000000
--- a/samples/AtomUI.Demo.Desktop/Controls/Colors/ColorListControl.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-using AtomUI.Demo.Desktop.ViewModels;
-using Avalonia;
-using Avalonia.Controls.Primitives;
-
-namespace AtomUI.Demo.Desktop.Controls;
-
-public class ColorListControl : TemplatedControl
-{
- public static readonly StyledProperty ListDataProperty =
- AvaloniaProperty.Register(
- nameof(ListData), new ColorListViewModel());
-
- public ColorListViewModel ListData
- {
- get => GetValue(ListDataProperty);
- set => SetValue(ListDataProperty, value);
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/Controls/Colors/ColorListGroupControl.axaml b/samples/AtomUI.Demo.Desktop/Controls/Colors/ColorListGroupControl.axaml
deleted file mode 100644
index 68bd36d..0000000
--- a/samples/AtomUI.Demo.Desktop/Controls/Colors/ColorListGroupControl.axaml
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/Controls/Colors/ColorListGroupControl.cs b/samples/AtomUI.Demo.Desktop/Controls/Colors/ColorListGroupControl.cs
deleted file mode 100644
index aa4e09c..0000000
--- a/samples/AtomUI.Demo.Desktop/Controls/Colors/ColorListGroupControl.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-using AtomUI.Demo.Desktop.ViewModels;
-using Avalonia;
-using Avalonia.Controls.Primitives;
-
-namespace AtomUI.Demo.Desktop.Controls;
-
-public class ColorListGroupControl : TemplatedControl
-{
- public static readonly StyledProperty GroupDataProperty =
- AvaloniaProperty.Register(
- nameof(GroupData), new ColorGroupViewModel());
-
- public ColorGroupViewModel GroupData
- {
- get => GetValue(GroupDataProperty);
- set => SetValue(GroupDataProperty, value);
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/Controls/PathIcon/IconGallery.axaml b/samples/AtomUI.Demo.Desktop/Controls/PathIcon/IconGallery.axaml
deleted file mode 100644
index cbeb89b..0000000
--- a/samples/AtomUI.Demo.Desktop/Controls/PathIcon/IconGallery.axaml
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/Controls/PathIcon/IconGallery.axaml.cs b/samples/AtomUI.Demo.Desktop/Controls/PathIcon/IconGallery.axaml.cs
deleted file mode 100644
index 350edf6..0000000
--- a/samples/AtomUI.Demo.Desktop/Controls/PathIcon/IconGallery.axaml.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-using AtomUI.Demo.Desktop.ViewModels;
-using AtomUI.Icon;
-using Avalonia;
-using Avalonia.Controls.Primitives;
-using Avalonia.Input;
-using Avalonia.LogicalTree;
-using CommunityToolkit.Mvvm.Messaging;
-
-namespace AtomUI.Demo.Desktop.Controls;
-
-public class IconGallery : TemplatedControl
-{
- private bool _initialized;
- private readonly IconGalleryModel _galleryModel;
-
- public static readonly StyledProperty IconThemeTypeProperty =
- AvaloniaProperty.Register(
- nameof(IconThemeType));
-
- public IconThemeType? IconThemeType
- {
- get => GetValue(IconThemeTypeProperty);
- set => SetValue(IconThemeTypeProperty, value);
- }
-
- public IconGallery()
- {
- _galleryModel = new IconGalleryModel();
- DataContext = _galleryModel;
- }
-
- protected override void OnPointerPressed(PointerPressedEventArgs e)
- {
- base.OnPointerPressed(e);
- if (DataContext is ColorItemViewModel v)
- {
- WeakReferenceMessenger.Default.Send(v);
- }
- }
-
- protected override void OnAttachedToLogicalTree(LogicalTreeAttachmentEventArgs e)
- {
- base.OnAttachedToLogicalTree(e);
- if (!_initialized)
- {
- if (IconThemeType.HasValue)
- {
- _galleryModel.LoadThemeIcons(IconThemeType.Value);
- }
-
- _initialized = true;
- }
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/Controls/PathIcon/IconInfoItem.axaml b/samples/AtomUI.Demo.Desktop/Controls/PathIcon/IconInfoItem.axaml
deleted file mode 100644
index 7823a50..0000000
--- a/samples/AtomUI.Demo.Desktop/Controls/PathIcon/IconInfoItem.axaml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/Controls/PathIcon/IconInfoItem.axaml.cs b/samples/AtomUI.Demo.Desktop/Controls/PathIcon/IconInfoItem.axaml.cs
deleted file mode 100644
index 8745fca..0000000
--- a/samples/AtomUI.Demo.Desktop/Controls/PathIcon/IconInfoItem.axaml.cs
+++ /dev/null
@@ -1,25 +0,0 @@
-using Avalonia;
-using Avalonia.Controls.Primitives;
-
-namespace AtomUI.Demo.Desktop.Controls;
-
-public class IconInfoItem : TemplatedControl
-{
- public static readonly StyledProperty IconNameProperty = AvaloniaProperty.Register(
- nameof(IconName));
-
- public string IconName
- {
- get => GetValue(IconNameProperty);
- set => SetValue(IconNameProperty, value);
- }
-
- public static readonly StyledProperty IconKindProperty = AvaloniaProperty.Register(
- nameof(IconKind));
-
- public string IconKind
- {
- get => GetValue(IconKindProperty);
- set => SetValue(IconKindProperty, value);
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/Program.cs b/samples/AtomUI.Demo.Desktop/Program.cs
deleted file mode 100644
index 21ca5f5..0000000
--- a/samples/AtomUI.Demo.Desktop/Program.cs
+++ /dev/null
@@ -1,57 +0,0 @@
-using AtomUI.Icon;
-using AtomUI.Icon.AntDesign;
-using AtomUI.Theme;
-using Avalonia;
-using Avalonia.Dialogs;
-using Avalonia.Media;
-#if DEBUG
-using Nlnet.Avalonia.DevTools;
-#endif
-
-namespace AtomUI.Demo.Desktop;
-
-internal class Program
-{
- // Initialization code. Don't use any Avalonia, third-party APIs or any
- // SynchronizationContext-reliant code before AppMain is called: things aren't initialized
- // yet and stuff might break.
- [STAThread]
- public static void Main(string[] args)
- {
- try
- {
- BuildAvaloniaApp()
- .With(new FontManagerOptions
- {
- FontFallbacks = new[]
- {
- new FontFallback
- {
- FontFamily = new FontFamily("Microsoft YaHei")
- }
- }
- })
- .StartWithClassicDesktopLifetime(args);
- }
- catch (Exception ex)
- {
- File.WriteAllText("error.log", ex.ToString());
-#if DEBUG
- throw;
-#endif
- }
- }
-
- public static AppBuilder BuildAvaloniaApp()
- => AppBuilder.Configure()
- .ConfigureAtomUI()
- .UseManagedSystemDialogs()
- .UsePlatformDetect()
- .UseAtomUI()
-#if DEBUG
- .UseDevToolsForAvalonia()
-#endif
- .UseIconPackage(true)
- .With(new Win32PlatformOptions())
- .LogToTrace();
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/Roots.xml b/samples/AtomUI.Demo.Desktop/Roots.xml
deleted file mode 100644
index 44df280..0000000
--- a/samples/AtomUI.Demo.Desktop/Roots.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/AlertShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/AlertShowCase.axaml
deleted file mode 100644
index b33c71f..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/AlertShowCase.axaml
+++ /dev/null
@@ -1,160 +0,0 @@
-
-
-
-
- Success Text
-
-
-
-
-
- Success Text
- Info Text
- Warning Text
- Error Text
-
-
-
-
-
-
- Warning Text Warning Text Warning Text Warning Text Warning Text Warning TextWarning Text
-
-
- Error Text
-
-
- Error Text
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- UNDO
-
- Success Tips
-
-
-
-
- Detail
-
- Error Text
-
-
-
-
- Done
-
- Warning Text
-
-
-
-
-
- Accept
- Decline
-
-
- Info Text
-
-
-
-
-
-
- I can be a React component, multiple React components, or just some text, Info Description Info Description Info Description Info Description
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/AlertShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/AlertShowCase.axaml.cs
deleted file mode 100644
index d57fb13..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/AlertShowCase.axaml.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class AlertShowCase : UserControl
-{
- public AlertShowCase()
- {
- InitializeComponent();
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/AvatarShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/AvatarShowCase.axaml
deleted file mode 100644
index cbf6c2b..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/AvatarShowCase.axaml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/AvatarShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/AvatarShowCase.axaml.cs
deleted file mode 100644
index eed53d3..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/AvatarShowCase.axaml.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class AvatarShowCase : UserControl
-{
- public AvatarShowCase()
- {
- InitializeComponent();
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/BadgeShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/BadgeShowCase.axaml
deleted file mode 100644
index c860bd7..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/BadgeShowCase.axaml
+++ /dev/null
@@ -1,334 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Add
- Sub
- Random
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Pushes open the window
-
-
- and raises the spyglass.
-
-
-
-
-
-
-
-
- Pushes open the window
-
-
- and raises the spyglass.
-
-
-
-
-
-
-
-
- Pushes open the window
-
-
- and raises the spyglass.
-
-
-
-
-
-
-
-
- Pushes open the window
-
-
- and raises the spyglass.
-
-
-
-
-
-
-
-
- Pushes open the window
-
-
- and raises the spyglass.
-
-
-
-
-
-
-
-
- Pushes open the window
-
-
- and raises the spyglass.
-
-
-
-
-
-
-
-
- Pushes open the window
-
-
- and raises the spyglass.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/BadgeShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/BadgeShowCase.axaml.cs
deleted file mode 100644
index 8ff927e..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/BadgeShowCase.axaml.cs
+++ /dev/null
@@ -1,107 +0,0 @@
-using Avalonia;
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class BadgeShowCase : UserControl
-{
- public static readonly StyledProperty DynamicBadgeCountProperty =
- AvaloniaProperty.Register(nameof(DynamicBadgeCount), 5);
-
- public static readonly StyledProperty DynamicDotBadgeVisibleProperty =
- AvaloniaProperty.Register(nameof(DynamicDotBadgeVisible), true);
-
- public static readonly StyledProperty StandaloneSwitchCheckedProperty =
- AvaloniaProperty.Register(nameof(StandaloneSwitchChecked), true);
-
- public static readonly StyledProperty StandaloneBadgeCount1Property =
- AvaloniaProperty.Register(nameof(StandaloneBadgeCount1), 11);
-
- public static readonly StyledProperty StandaloneBadgeCount2Property =
- AvaloniaProperty.Register(nameof(StandaloneBadgeCount2), 25);
-
- public static readonly StyledProperty StandaloneBadgeCount3Property =
- AvaloniaProperty.Register(nameof(StandaloneBadgeCount3), 109);
-
- public double DynamicBadgeCount
- {
- get => GetValue(DynamicBadgeCountProperty);
- set => SetValue(DynamicBadgeCountProperty, value);
- }
-
- public bool DynamicDotBadgeVisible
- {
- get => GetValue(DynamicDotBadgeVisibleProperty);
- set => SetValue(DynamicDotBadgeVisibleProperty, value);
- }
-
- public bool StandaloneSwitchChecked
- {
- get => GetValue(StandaloneSwitchCheckedProperty);
- set => SetValue(StandaloneSwitchCheckedProperty, value);
- }
-
- public double StandaloneBadgeCount1
- {
- get => GetValue(StandaloneBadgeCount1Property);
- set => SetValue(StandaloneBadgeCount1Property, value);
- }
-
- public double StandaloneBadgeCount2
- {
- get => GetValue(StandaloneBadgeCount2Property);
- set => SetValue(StandaloneBadgeCount2Property, value);
- }
-
- public double StandaloneBadgeCount3
- {
- get => GetValue(StandaloneBadgeCount3Property);
- set => SetValue(StandaloneBadgeCount3Property, value);
- }
-
- public BadgeShowCase()
- {
- DataContext = this;
- InitializeComponent();
- }
-
- public void AddDynamicBadgeCount()
- {
- DynamicBadgeCount += 1;
- }
-
- public void SubDynamicBadgeCount()
- {
- var value = DynamicBadgeCount;
- value -= 1;
- value = Math.Max(value, 0);
- DynamicBadgeCount = value;
- }
-
- public void RandomDynamicBadgeCount()
- {
- var random = new Random();
- DynamicBadgeCount = random.Next(0, 110);
- }
-
- protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs args)
- {
- base.OnPropertyChanged(args);
- if (args.Property == StandaloneSwitchCheckedProperty)
- {
- var isChecked = args.GetNewValue();
- if (isChecked)
- {
- StandaloneBadgeCount1 = 11;
- StandaloneBadgeCount2 = 25;
- StandaloneBadgeCount3 = 109;
- }
- else
- {
- StandaloneBadgeCount1 = 0;
- StandaloneBadgeCount2 = 0;
- StandaloneBadgeCount3 = 0;
- }
- }
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/ButtonShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/ButtonShowCase.axaml
deleted file mode 100644
index e7bb987..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/ButtonShowCase.axaml
+++ /dev/null
@@ -1,325 +0,0 @@
-
-
-
-
-
-
-
- Primary Button
- Default Button
- Text Button
- Link Button
-
-
-
-
-
-
- Primary
- Default
- Text
- Link
-
-
- Primary
- Default
- Text
- Link
-
-
- AA
- AA
- AA
- AA
-
-
-
-
-
-
-
-
- Expand direction:
-
- Large
- Default
- Small
-
-
-
-
-
- Primary
- Default
- Link
-
-
-
-
-
-
- Download
-
-
- Download
-
-
-
-
-
-
-
-
-
-
-
- Search
-
-
-
-
- Search
-
-
-
- Search
-
-
-
- Search
-
-
-
-
-
- Search
-
-
-
- Search
-
-
-
- Search
-
-
-
- Search
-
-
-
-
-
-
-
-
-
- Loading
- Loading
-
-
-
- Click me!
-
- Click me!
-
-
-
-
-
-
-
-
-
-
- Primary
-
-
- Default
-
-
- Text
-
-
- Link
-
-
-
-
-
-
-
- Primary
-
-
- Default
-
-
- Text
-
-
- Link
-
-
-
-
-
-
-
-
-
- Primary
-
-
- Default
-
-
- Text
-
-
- Link
-
-
- Danger
-
-
-
-
- Primary
-
-
- Default
-
-
- Text
-
-
- Link
-
-
- Danger
-
-
-
-
-
-
-
-
-
-
- Primary
-
-
- Primary(disabled)
-
-
-
-
- Default
-
-
- Default(disabled)
-
-
-
-
- Text
-
-
- Text(disabled)
-
-
-
-
- Link
-
-
- Link(disabled)
-
-
-
-
-
- Danger Primary
-
-
- Danger Primary(disabled)
-
-
-
-
- Danger Default
-
-
- Danger Default(disabled)
-
-
-
-
- Danger Text
-
-
- Danger Text(disabled)
-
-
-
-
- Danger Link
-
-
- Danger Link(disabled)
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/ButtonShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/ButtonShowCase.axaml.cs
deleted file mode 100644
index ed70372..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/ButtonShowCase.axaml.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-using AtomUI.Controls;
-using Avalonia;
-using Avalonia.Controls;
-using Avalonia.Interactivity;
-using Avalonia.Threading;
-using Button = AtomUI.Controls.Button;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class ButtonShowCase : UserControl
-{
- public static readonly StyledProperty ButtonSizeTypeProperty =
- AvaloniaProperty.Register(nameof(ButtonSizeType));
-
- public SizeType ButtonSizeType
- {
- get => GetValue(ButtonSizeTypeProperty);
- set => SetValue(ButtonSizeTypeProperty, value);
- }
-
- public ButtonShowCase()
- {
- InitializeComponent();
- DataContext = this;
-
- ButtonSizeTypeOptionGroup.OptionCheckedChanged += HandleButtonSizeTypeOptionCheckedChanged;
- LoadingBtn1.Click += HandleLoadingBtnClick;
- LoadingBtn2.Click += HandleLoadingBtnClick;
- LoadingBtn3.Click += HandleLoadingBtnClick;
- }
-
- private void HandleButtonSizeTypeOptionCheckedChanged(object? sender, OptionCheckedChangedEventArgs args)
- {
- if (args.Index == 0)
- {
- ButtonSizeType = SizeType.Large;
- }
- else if (args.Index == 1)
- {
- ButtonSizeType = SizeType.Middle;
- }
- else
- {
- ButtonSizeType = SizeType.Small;
- }
- }
-
- private void HandleLoadingBtnClick(object? sender, RoutedEventArgs args)
- {
- if (sender is Button button)
- {
- button.IsLoading = true;
- Dispatcher.UIThread.InvokeAsync(async () =>
- {
- await Task.Delay(TimeSpan.FromSeconds(3));
- button.IsLoading = false;
- });
- }
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/ButtonSpinnerShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/ButtonSpinnerShowCase.axaml
deleted file mode 100644
index eb2914f..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/ButtonSpinnerShowCase.axaml
+++ /dev/null
@@ -1,248 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/ButtonSpinnerShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/ButtonSpinnerShowCase.axaml.cs
deleted file mode 100644
index 24987c3..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/ButtonSpinnerShowCase.axaml.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class ButtonSpinnerShowCase : UserControl
-{
- public ButtonSpinnerShowCase()
- {
- InitializeComponent();
- }
-
- public void HandleSpin(object sender, SpinEventArgs e)
- {
- var spinner = (ButtonSpinner)sender;
-
- if (spinner.Content is TextBlock textBlock)
- {
- var value = Array.IndexOf(_spinnerItems, textBlock.Text);
- if (e.Direction == SpinDirection.Increase)
- {
- value++;
- }
- else
- {
- value--;
- }
-
- if (value < 0)
- {
- value = _spinnerItems.Length - 1;
- }
- else if (value >= _spinnerItems.Length)
- {
- value = 0;
- }
-
- textBlock.Text = _spinnerItems[value];
- }
- }
-
- private readonly string[] _spinnerItems =
- {
- "床前明月光",
- "疑是地上霜",
- "举头望明月",
- "低头思故乡"
- };
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/CalendarShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/CalendarShowCase.axaml
deleted file mode 100644
index b8c274e..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/CalendarShowCase.axaml
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/CalendarShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/CalendarShowCase.axaml.cs
deleted file mode 100644
index 1e4e2f3..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/CalendarShowCase.axaml.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class CalendarShowCase : UserControl
-{
- public CalendarShowCase()
- {
- InitializeComponent();
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/CardShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/CardShowCase.axaml
deleted file mode 100644
index 7d3bb61..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/CardShowCase.axaml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/CardShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/CardShowCase.axaml.cs
deleted file mode 100644
index 27982f0..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/CardShowCase.axaml.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class CardShowCase : UserControl
-{
- public CardShowCase()
- {
- InitializeComponent();
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/CheckBoxShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/CheckBoxShowCase.axaml
deleted file mode 100644
index d2b3de3..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/CheckBoxShowCase.axaml
+++ /dev/null
@@ -1,125 +0,0 @@
-
-
-
-
-
-
-
- Checkbox
-
-
-
-
-
- UnChecked
- Indeterminate
- Checked
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Apple
- Pear
- Orange
-
-
- Apple
- Pear
- Orange
-
-
- Apple
- Pear
- Orange
-
-
-
-
-
-
-
-
-
- Check all
-
-
-
-
- Apple
-
-
- Pear
-
-
- Orange
-
-
-
-
-
-
-
- A
- B
- C
- D
- D
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/CheckBoxShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/CheckBoxShowCase.axaml.cs
deleted file mode 100644
index d2f01c1..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/CheckBoxShowCase.axaml.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using AtomUI.Demo.Desktop.ViewModels;
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class CheckBoxShowCase : UserControl
-{
- public CheckBoxShowCase()
- {
- DataContext = new CheckBoxShowCaseModel();
- InitializeComponent();
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/CollapseShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/CollapseShowCase.axaml
deleted file mode 100644
index 1760d3a..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/CollapseShowCase.axaml
+++ /dev/null
@@ -1,250 +0,0 @@
-
-
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
-
-
-
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
-
-
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
-
-
-
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
-
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
-
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
-
-
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
-
- Expand Icon Position:
-
- Start
- End
-
-
-
-
-
-
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
-
-
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/CollapseShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/CollapseShowCase.axaml.cs
deleted file mode 100644
index 593b765..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/CollapseShowCase.axaml.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using AtomUI.Controls;
-using Avalonia;
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class CollapseShowCase : UserControl
-{
- public static readonly StyledProperty CollapseExpandIconPositionProperty =
- AvaloniaProperty.Register(nameof(CollapseExpandIconPosition));
-
- public CollapseExpandIconPosition CollapseExpandIconPosition
- {
- get => GetValue(CollapseExpandIconPositionProperty);
- set => SetValue(CollapseExpandIconPositionProperty, value);
- }
-
- public CollapseShowCase()
- {
- InitializeComponent();
- DataContext = this;
- //ExpandButtonPosGroup.OptionCheckedChanged += HandleExpandButtonPosOptionCheckedChanged;
- }
-
- private void HandleExpandButtonPosOptionCheckedChanged(object? sender, OptionCheckedChangedEventArgs args)
- {
- if (args.Index == 0)
- {
- CollapseExpandIconPosition = CollapseExpandIconPosition.Start;
- }
- else if (args.Index == 1)
- {
- CollapseExpandIconPosition = CollapseExpandIconPosition.End;
- }
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/ComboBoxShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/ComboBoxShowCase.axaml
deleted file mode 100644
index d75e863..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/ComboBoxShowCase.axaml
+++ /dev/null
@@ -1,229 +0,0 @@
-
-
-
-
-
- 床前明月光
- 疑是地上霜
- 举头望明月
- 低头思故乡
-
-
-
-
-
-
-
- 床前明月光
- 疑是地上霜
- 举头望明月
- 低头思故乡
-
-
- 床前明月光
- 疑是地上霜
- 举头望明月
- 低头思故乡
-
-
- 床前明月光
- 疑是地上霜
- 举头望明月
- 低头思故乡
-
-
-
-
-
-
-
- 床前明月光
- 疑是地上霜
- 举头望明月
- 低头思故乡
-
-
-
- 床前明月光
- 疑是地上霜
- 举头望明月
- 低头思故乡
-
-
-
- 床前明月光
- 疑是地上霜
- 举头望明月
- 低头思故乡
-
-
-
-
-
-
-
- 床前明月光
- 疑是地上霜
- 举头望明月
- 低头思故乡
-
-
-
- 床前明月光
- 疑是地上霜
- 举头望明月
- 低头思故乡
-
-
-
- 床前明月光
- 疑是地上霜
- 举头望明月
- 低头思故乡
-
-
-
-
-
-
-
-
-
- 床前明月光
- 疑是地上霜
- 举头望明月
- 低头思故乡
-
-
-
- 床前明月光
- 疑是地上霜
- 举头望明月
- 低头思故乡
-
-
-
- 床前明月光
- 疑是地上霜
- 举头望明月
- 低头思故乡
-
-
-
-
-
-
-
-
- 床前明月光
- 疑是地上霜
- 举头望明月
- 低头思故乡
-
-
-
- 床前明月光
- 疑是地上霜
- 举头望明月
- 低头思故乡
-
-
-
- 床前明月光
- 疑是地上霜
- 举头望明月
- 低头思故乡
-
-
-
- 床前明月光
- 疑是地上霜
- 举头望明月
- 低头思故乡
-
-
-
- 床前明月光
- 疑是地上霜
- 举头望明月
- 低头思故乡
-
-
-
- 床前明月光
- 疑是地上霜
- 举头望明月
- 低头思故乡
-
-
-
- 床前明月光
- 疑是地上霜
- 举头望明月
- 低头思故乡
-
-
-
- 床前明月光
- 疑是地上霜
- 举头望明月
- 低头思故乡
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/ComboBoxShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/ComboBoxShowCase.axaml.cs
deleted file mode 100644
index 2552c89..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/ComboBoxShowCase.axaml.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class ComboBoxShowCase : UserControl
-{
- public ComboBoxShowCase()
- {
- InitializeComponent();
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/DatePickerShowCase.cs b/samples/AtomUI.Demo.Desktop/ShowCase/DatePickerShowCase.cs
deleted file mode 100644
index 62d4bf7..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/DatePickerShowCase.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class DatePickerShowCase : UserControl
-{
- public DatePickerShowCase()
- {
- InitializeComponent();
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/DatePickerShowCase.cs.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/DatePickerShowCase.cs.axaml
deleted file mode 100644
index b36de15..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/DatePickerShowCase.cs.axaml
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/DrawerShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/DrawerShowCase.axaml
deleted file mode 100644
index 74b9266..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/DrawerShowCase.axaml
+++ /dev/null
@@ -1,286 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/DrawerShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/DrawerShowCase.axaml.cs
deleted file mode 100644
index fe1e85b..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/DrawerShowCase.axaml.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-using AtomUI.Controls;
-using Avalonia;
-using Avalonia.Controls;
-using Avalonia.Interactivity;
-using Button = AtomUI.Controls.Button;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class DrawerShowCase : UserControl
-{
- public DrawerShowCase()
- {
- InitializeComponent();
- }
-
- private void Button_OnClick(object? sender, RoutedEventArgs e)
- {
- if (sender is not Button button)
- {
- return;
- }
-
- if (Drawer.GetDrawer(button) is not { } drawer)
- {
- return;
- }
-
- drawer.IsOpen = false;
- }
-
- private void ButtonOpenOnCurrentParent_OnClick(object? sender, RoutedEventArgs e)
- {
- Drawer1.OpenOn = Drawer1.OpenOn?.Parent as Visual;
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/DropdownButtonShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/DropdownButtonShowCase.axaml
deleted file mode 100644
index 867deff..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/DropdownButtonShowCase.axaml
+++ /dev/null
@@ -1,299 +0,0 @@
-
-
-
-
- Hover me
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Edit File
-
-
-
-
-
-
-
-
-
-
- Edit File
-
-
-
-
-
-
-
-
-
-
- Edit File
-
-
-
-
-
-
-
-
-
-
- Edit File
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- BottomLeft
-
-
-
-
-
-
-
-
-
-
- Bottom
-
-
-
-
-
-
-
-
-
-
- BottomRight
-
-
-
-
-
-
-
-
-
-
- TopLeft
-
-
-
-
-
-
-
-
-
-
- Top
-
-
-
-
-
-
-
-
-
-
- TopRight
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- BottomLeft
-
-
-
-
-
-
-
-
-
-
- Bottom
-
-
-
-
-
-
-
-
-
-
- BottomRight
-
-
-
-
-
-
-
-
-
-
- TopLeft
-
-
-
-
-
-
-
-
-
-
- Top
-
-
-
-
-
-
-
-
-
-
- TopRight
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/DropdownButtonShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/DropdownButtonShowCase.axaml.cs
deleted file mode 100644
index ae93eb5..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/DropdownButtonShowCase.axaml.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class DropdownButtonShowCase : UserControl
-{
- public DropdownButtonShowCase()
- {
- InitializeComponent();
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/EmptyShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/EmptyShowCase.axaml
deleted file mode 100644
index 36b6390..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/EmptyShowCase.axaml
+++ /dev/null
@@ -1,47 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Create Now
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/EmptyShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/EmptyShowCase.axaml.cs
deleted file mode 100644
index afcaa1e..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/EmptyShowCase.axaml.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class EmptyShowCase : UserControl
-{
- public EmptyShowCase()
- {
- InitializeComponent();
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/ExpanderShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/ExpanderShowCase.axaml
deleted file mode 100644
index f4dee05..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/ExpanderShowCase.axaml
+++ /dev/null
@@ -1,168 +0,0 @@
-
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
-
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
-
-
-
-
- Expand direction:
-
- Down
- Up
- Left
- Right
-
-
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
-
-
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
- Expand Icon Position:
-
- Start
- End
-
-
-
-
-
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
-
- A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/ExpanderShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/ExpanderShowCase.axaml.cs
deleted file mode 100644
index abd1881..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/ExpanderShowCase.axaml.cs
+++ /dev/null
@@ -1,66 +0,0 @@
-using AtomUI.Controls;
-using Avalonia;
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class ExpanderShowCase : UserControl
-{
- public static readonly StyledProperty ToggleIconPositionProperty =
- AvaloniaProperty.Register(nameof(ToggleIconPosition));
-
- public ExpanderIconPosition ToggleIconPosition
- {
- get => GetValue(ToggleIconPositionProperty);
- set => SetValue(ToggleIconPositionProperty, value);
- }
-
- public static readonly StyledProperty ExpandDirectionProperty =
- AvaloniaProperty.Register(nameof(ExpandDirection));
-
- public ExpandDirection ExpandDirection
- {
- get => GetValue(ExpandDirectionProperty);
- set => SetValue(ExpandDirectionProperty, value);
- }
-
- public ExpanderShowCase()
- {
- InitializeComponent();
- DataContext = this;
- ExpandButtonPosGroup.OptionCheckedChanged += HandleExpandButtonPosOptionCheckedChanged;
- ExpandDirectionOptionGroup.OptionCheckedChanged += HandleExpandDirectionOptionCheckedChanged;
- }
-
- private void HandleExpandButtonPosOptionCheckedChanged(object? sender, OptionCheckedChangedEventArgs args)
- {
- if (args.Index == 0)
- {
- ToggleIconPosition = ExpanderIconPosition.Start;
- }
- else if (args.Index == 1)
- {
- ToggleIconPosition = ExpanderIconPosition.End;
- }
- }
-
- private void HandleExpandDirectionOptionCheckedChanged(object? sender, OptionCheckedChangedEventArgs args)
- {
- if (args.Index == 0)
- {
- ExpandDirection = ExpandDirection.Down;
- }
- else if (args.Index == 1)
- {
- ExpandDirection = ExpandDirection.Up;
- }
- else if (args.Index == 2)
- {
- ExpandDirection = ExpandDirection.Left;
- }
- else if (args.Index == 3)
- {
- ExpandDirection = ExpandDirection.Right;
- }
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/GroupBoxShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/GroupBoxShowCase.axaml
deleted file mode 100644
index 0b19d68..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/GroupBoxShowCase.axaml
+++ /dev/null
@@ -1,100 +0,0 @@
-
-
-
-
-
-
- Content of group box
-
-
-
-
-
-
-
-
-
-
- Content of group box
-
-
-
-
-
-
- Content of group box
-
-
-
-
-
-
- Content of group box
-
-
-
-
-
-
-
-
-
-
-
- Content of group box
-
-
-
-
-
-
- Content of group box
-
-
-
-
-
-
- Content of group box
-
-
-
-
-
-
- Content of group box
-
-
-
-
-
-
-
-
-
-
- Content of group box
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/GroupBoxShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/GroupBoxShowCase.axaml.cs
deleted file mode 100644
index 42e7a90..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/GroupBoxShowCase.axaml.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class GroupBoxShowCase : UserControl
-{
- public GroupBoxShowCase()
- {
- InitializeComponent();
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/IconShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/IconShowCase.axaml
deleted file mode 100644
index 8d20026..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/IconShowCase.axaml
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/IconShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/IconShowCase.axaml.cs
deleted file mode 100644
index d7d3095..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/IconShowCase.axaml.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-using AtomUI.Demo.Desktop.ViewModels;
-using Avalonia.Controls;
-using Avalonia.Controls.Primitives;
-using Avalonia.Threading;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class IconShowCase : UserControl
-{
- public IconShowCase()
- {
- InitializeComponent();
- }
-
- protected override async void OnApplyTemplate(TemplateAppliedEventArgs e)
- {
- base.OnApplyTemplate(e);
- var vm = new PaletteDemoViewModel();
- await Dispatcher.UIThread.InvokeAsync(() => { vm.InitializeResources(); });
- DataContext = vm;
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/InfoFlyoutShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/InfoFlyoutShowCase.axaml
deleted file mode 100644
index 62abbed..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/InfoFlyoutShowCase.axaml
+++ /dev/null
@@ -1,379 +0,0 @@
-
-
-
-
-
-
-
- The most basic example.
-
-
- Hover me
-
-
-
-
-
-
-
-
-
- The most basic example.
-
-
- Hover me
-
-
-
-
- The most basic example.
-
-
- Click me
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- The most basic example.
-
-
-
-
-
-
-
-
- The most basic example.
-
-
-
-
-
-
-
-
- The most basic example.
-
-
-
-
-
-
-
-
- The most basic example.
-
-
-
-
-
-
-
-
- The most basic example.
-
-
-
-
-
-
-
-
- The most basic example.
-
-
-
-
-
-
-
-
- The most basic example.
-
-
-
-
-
-
-
-
- The most basic example.
-
-
-
-
-
-
-
-
- The most basic example.
-
-
-
-
-
-
-
-
- The most basic example.
-
-
-
-
-
-
-
-
- The most basic example.
-
-
-
-
-
-
-
-
- The most basic example.
-
-
-
-
-
-
-
-
-
-
-
- Show
- Hide
- Center
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- The most basic example.
-
-
-
-
-
-
-
-
- The most basic example.
-
-
-
-
-
-
-
-
- The most basic example.
-
-
-
-
-
-
-
-
- The most basic example.
-
-
-
-
-
-
-
-
- The most basic example.
-
-
-
-
-
-
-
-
- The most basic example.
-
-
-
-
-
-
-
-
- The most basic example.
-
-
-
-
-
-
-
-
- The most basic example.
-
-
-
-
-
-
-
-
- The most basic example.
-
-
-
-
-
-
-
-
- The most basic example.
-
-
-
-
-
-
-
-
- The most basic example.
-
-
-
-
-
-
-
-
- The most basic example.
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/InfoFlyoutShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/InfoFlyoutShowCase.axaml.cs
deleted file mode 100644
index 550f5f5..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/InfoFlyoutShowCase.axaml.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-using AtomUI.Controls;
-using Avalonia;
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class InfoFlyoutShowCase : UserControl
-{
- public static readonly StyledProperty ShowArrowProperty =
- AvaloniaProperty.Register(nameof(ShowArrow), true);
-
- public static readonly StyledProperty IsPointAtCenterProperty =
- AvaloniaProperty.Register(nameof(IsPointAtCenter));
-
- private readonly Segmented _segmented;
-
- public bool ShowArrow
- {
- get => GetValue(ShowArrowProperty);
- set => SetValue(ShowArrowProperty, value);
- }
-
- public bool IsPointAtCenter
- {
- get => GetValue(IsPointAtCenterProperty);
- set => SetValue(IsPointAtCenterProperty, value);
- }
-
- public InfoFlyoutShowCase()
- {
- DataContext = this;
- InitializeComponent();
- var control = this as Control;
- _segmented = control.FindControl("ArrowSegmented")!;
- _segmented.SelectionChanged += (sender, args) =>
- {
- if (_segmented.SelectedIndex == 0)
- {
- ShowArrow = true;
- IsPointAtCenter = false;
- }
- else if (_segmented.SelectedIndex == 1)
- {
- ShowArrow = false;
- IsPointAtCenter = false;
- }
- else if (_segmented.SelectedIndex == 2)
- {
- IsPointAtCenter = true;
- ShowArrow = true;
- }
- };
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/LineEditShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/LineEditShowCase.axaml
deleted file mode 100644
index a4905bb..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/LineEditShowCase.axaml
+++ /dev/null
@@ -1,150 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/LineEditShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/LineEditShowCase.axaml.cs
deleted file mode 100644
index 3a337d9..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/LineEditShowCase.axaml.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class LineEditShowCase : UserControl
-{
- public LineEditShowCase()
- {
- InitializeComponent();
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/ListBoxShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/ListBoxShowCase.axaml
deleted file mode 100644
index ae14d00..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/ListBoxShowCase.axaml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- Blue
- Green
- Red
- Yellow
-
-
-
-
-
- Blue
- Green
- Red
- Yellow
-
-
-
-
-
- Blue
- Green
- Red
- Yellow
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/ListBoxShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/ListBoxShowCase.axaml.cs
deleted file mode 100644
index 50c1f1a..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/ListBoxShowCase.axaml.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class ListBoxShowCase : UserControl
-{
- public ListBoxShowCase()
- {
- InitializeComponent();
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/LoadingIndicatorShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/LoadingIndicatorShowCase.axaml
deleted file mode 100644
index 84fc3a0..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/LoadingIndicatorShowCase.axaml
+++ /dev/null
@@ -1,93 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Loading state:
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/LoadingIndicatorShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/LoadingIndicatorShowCase.axaml.cs
deleted file mode 100644
index 46b3f9c..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/LoadingIndicatorShowCase.axaml.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-using Avalonia;
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class LoadingIndicatorShowCase : UserControl
-{
- public static readonly StyledProperty IsLoadingSwitchCheckedProperty =
- AvaloniaProperty.Register(nameof(IsLoadingSwitchChecked));
-
- public bool IsLoadingSwitchChecked
- {
- get => GetValue(IsLoadingSwitchCheckedProperty);
- set => SetValue(IsLoadingSwitchCheckedProperty, value);
- }
-
- public LoadingIndicatorShowCase()
- {
- DataContext = this;
- InitializeComponent();
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/MenuShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/MenuShowCase.axaml
deleted file mode 100644
index 1e414fc..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/MenuShowCase.axaml
+++ /dev/null
@@ -1,192 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/MenuShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/MenuShowCase.axaml.cs
deleted file mode 100644
index ef812aa..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/MenuShowCase.axaml.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class MenuShowCase : UserControl
-{
- public MenuShowCase()
- {
- InitializeComponent();
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/MessageShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/MessageShowCase.axaml
deleted file mode 100644
index 24358a1..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/MessageShowCase.axaml
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-
-
- Display normal message
-
-
-
-
-
-
- Success
-
-
- Info
-
-
- Warning
-
-
- Error
-
-
-
-
-
-
- Display a loading indicator
-
-
-
-
-
- Display a loading indicator
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/MessageShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/MessageShowCase.axaml.cs
deleted file mode 100644
index d6fea18..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/MessageShowCase.axaml.cs
+++ /dev/null
@@ -1,98 +0,0 @@
-using AtomUI.Controls;
-using Avalonia;
-using Avalonia.Controls;
-using Avalonia.Interactivity;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class MessageShowCase : UserControl
-{
- private WindowMessageManager? _messageManager;
-
- public MessageShowCase()
- {
- InitializeComponent();
- }
-
- protected override void OnAttachedToVisualTree(VisualTreeAttachmentEventArgs e)
- {
- base.OnAttachedToVisualTree(e);
- var topLevel = TopLevel.GetTopLevel(this);
- _messageManager = new WindowMessageManager(topLevel)
- {
- MaxItems = 10
- };
- }
-
- private void ShowSimpleMessage(object? sender, RoutedEventArgs e)
- {
- _messageManager?.Show(new Message(
- "Hello, AtomUI/Avalonia!"
- ));
- }
-
- private void ShowInfoMessage(object? sender, RoutedEventArgs e)
- {
- _messageManager?.Show(new Message(
- type: MessageType.Information,
- content: "This is a information message."
- ));
- }
-
- private void ShowSuccessMessage(object? sender, RoutedEventArgs e)
- {
- _messageManager?.Show(new Message(
- type: MessageType.Success,
- content: "This is a success message."
- ));
- }
-
- private void ShowWarningMessage(object? sender, RoutedEventArgs e)
- {
- _messageManager?.Show(new Message(
- type: MessageType.Warning,
- content: "This is a warning message."
- ));
- }
-
- private void ShowErrorMessage(object? sender, RoutedEventArgs e)
- {
- _messageManager?.Show(new Message(
- type: MessageType.Error,
- content: "This is a error message."
- ));
- }
-
- private void ShowLoadingMessage(object? sender, RoutedEventArgs e)
- {
- _messageManager?.Show(new Message(
- type: MessageType.Loading,
- content: "Action in progress..."
- ));
- }
-
- private void ShowSequentialMessage(object? sender, RoutedEventArgs e)
- {
- _messageManager?.Show(new Message(
- type: MessageType.Loading,
- content: "Action in progress...",
- expiration: TimeSpan.FromSeconds(2.5),
- onClose: () =>
- {
- _messageManager?.Show(new Message(
- type: MessageType.Success,
- expiration: TimeSpan.FromSeconds(2.5),
- content: "Loading finished",
- onClose: () =>
- {
- _messageManager?.Show(new Message(
- type: MessageType.Information,
- expiration: TimeSpan.FromSeconds(2.5),
- content: "Loading finished"
- ));
- }
- ));
- }
- ));
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/NotificationShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/NotificationShowCase.axaml
deleted file mode 100644
index 8ce5316..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/NotificationShowCase.axaml
+++ /dev/null
@@ -1,92 +0,0 @@
-
-
-
-
- Show Notification
-
-
-
-
-
- Open the notification box
-
-
-
-
-
-
- Success
-
-
- Info
-
-
- Warning
-
-
- Error
-
-
-
-
-
-
-
-
- Top
-
-
- Bottom
-
-
-
-
-
- TopLeft
-
-
- TopRight
-
-
-
-
-
- BottomLeft
-
-
- BottomRight
-
-
-
-
-
-
-
- Open the notification box
-
-
-
-
-
-
- Pause on hover
- Don't pause on hover
-
-
- Show Notification
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/NotificationShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/NotificationShowCase.axaml.cs
deleted file mode 100644
index 8faa2f2..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/NotificationShowCase.axaml.cs
+++ /dev/null
@@ -1,215 +0,0 @@
-using AtomUI.Controls;
-using Avalonia;
-using Avalonia.Controls;
-using Avalonia.Interactivity;
-using PathIcon = AtomUI.Controls.PathIcon;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class NotificationShowCase : UserControl
-{
- private WindowNotificationManager? _basicManager;
- private WindowNotificationManager? _topLeftManager;
- private WindowNotificationManager? _topManager;
- private WindowNotificationManager? _topRightManager;
-
- private WindowNotificationManager? _bottomLeftManager;
- private WindowNotificationManager? _bottomManager;
- private WindowNotificationManager? _bottomRightManager;
-
- public NotificationShowCase()
- {
- InitializeComponent();
- HoverOptionGroup.OptionCheckedChanged += HandleHoverOptionGroupCheckedChanged;
- }
-
- private void HandleHoverOptionGroupCheckedChanged(object? sender, OptionCheckedChangedEventArgs args)
- {
- if (_basicManager is not null)
- {
- if (args.Index == 0)
- {
- _basicManager.IsPauseOnHover = true;
- }
- else
- {
- _basicManager.IsPauseOnHover = false;
- }
- }
- }
-
- protected override void OnAttachedToVisualTree(VisualTreeAttachmentEventArgs e)
- {
- base.OnAttachedToVisualTree(e);
- var topLevel = TopLevel.GetTopLevel(this);
- _basicManager = new WindowNotificationManager(topLevel)
- {
- MaxItems = 3
- };
-
- _topLeftManager = new WindowNotificationManager(topLevel)
- {
- MaxItems = 3,
- Position = NotificationPosition.TopLeft
- };
-
- _topManager = new WindowNotificationManager(topLevel)
- {
- Position = NotificationPosition.TopCenter,
- MaxItems = 3
- };
-
- _topRightManager = new WindowNotificationManager(topLevel)
- {
- Position = NotificationPosition.TopRight,
- MaxItems = 3
- };
-
- _bottomLeftManager = new WindowNotificationManager(topLevel)
- {
- Position = NotificationPosition.BottomLeft,
- MaxItems = 3
- };
-
- _bottomManager = new WindowNotificationManager(topLevel)
- {
- Position = NotificationPosition.BottomCenter,
- MaxItems = 3
- };
-
- _bottomRightManager = new WindowNotificationManager(topLevel)
- {
- Position = NotificationPosition.BottomRight,
- MaxItems = 3
- };
- }
-
- private void ShowSimpleNotification(object? sender, RoutedEventArgs e)
- {
- _basicManager?.Show(new Notification(
- "Notification Title",
- "Hello, AtomUI/Avalonia!"
- ));
- }
-
- private void ShowNeverCloseNotification(object? sender, RoutedEventArgs e)
- {
- _basicManager?.Show(new Notification(
- expiration: TimeSpan.Zero,
- title: "Notification Title",
- content:
- "I will never close automatically. This is a purposely very very long description that has many many characters and words."
- ));
- }
-
- private void ShowSuccessNotification(object? sender, RoutedEventArgs e)
- {
- _basicManager?.Show(new Notification(
- type: NotificationType.Success,
- title: "Notification Title",
- content:
- "This is the content of the notification. This is the content of the notification. This is the content of the notification."
- ));
- }
-
- private void ShowInfoNotification(object? sender, RoutedEventArgs e)
- {
- _basicManager?.Show(new Notification(
- type: NotificationType.Information,
- title: "Notification Title",
- content:
- "This is the content of the notification. This is the content of the notification. This is the content of the notification."
- ));
- }
-
- private void ShowWarningNotification(object? sender, RoutedEventArgs e)
- {
- _basicManager?.Show(new Notification(
- type: NotificationType.Warning,
- title: "Notification Title",
- content:
- "This is the content of the notification. This is the content of the notification. This is the content of the notification."
- ));
- }
-
- private void ShowErrorNotification(object? sender, RoutedEventArgs e)
- {
- _basicManager?.Show(new Notification(
- type: NotificationType.Error,
- title: "Notification Title",
- content:
- "This is the content of the notification. This is the content of the notification. This is the content of the notification."
- ));
- }
-
- private void ShowTopNotification(object? sender, RoutedEventArgs e)
- {
- _topManager?.Show(new Notification(
- "Notification Top",
- "Hello, AtomUI/Avalonia!"
- ));
- }
-
- private void ShowBottomNotification(object? sender, RoutedEventArgs e)
- {
- _bottomManager?.Show(new Notification(
- "Notification Bottom",
- "Hello, AtomUI/Avalonia!"
- ));
- }
-
- private void ShowTopLeftNotification(object? sender, RoutedEventArgs e)
- {
- _topLeftManager?.Show(new Notification(
- "Notification TopLeft",
- "Hello, AtomUI/Avalonia!"
- ));
- }
-
- private void ShowTopRightNotification(object? sender, RoutedEventArgs e)
- {
- _topRightManager?.Show(new Notification(
- "Notification TopRight",
- "Hello, AtomUI/Avalonia!"
- ));
- }
-
- private void ShowBottomLeftNotification(object? sender, RoutedEventArgs e)
- {
- _bottomLeftManager?.Show(new Notification(
- "Notification BottomLeft",
- "Hello, AtomUI/Avalonia!"
- ));
- }
-
- private void ShowBottomRightNotification(object? sender, RoutedEventArgs e)
- {
- _bottomRightManager?.Show(new Notification(
- "Notification BottomRight",
- "Hello, AtomUI/Avalonia!"
- ));
- }
-
- private void ShowCustomIconNotification(object? sender, RoutedEventArgs e)
- {
- _basicManager?.Show(new Notification(
- "Notification Title",
- "This is the content of the notification. This is the content of the notification. This is the content of the notification.",
- icon: new PathIcon
- {
- Kind = "SettingOutlined"
- }
- ));
- }
-
- private void ShowProgressNotification(object? sender, RoutedEventArgs e)
- {
- _basicManager?.Show(new Notification(
- type: NotificationType.Information,
- title: "Notification Title",
- content:
- "This is the content of the notification. This is the content of the notification. This is the content of the notification.",
- showProgress: true
- ));
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/NumberUpDownShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/NumberUpDownShowCase.axaml
deleted file mode 100644
index 729cf0c..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/NumberUpDownShowCase.axaml
+++ /dev/null
@@ -1,99 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/NumberUpDownShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/NumberUpDownShowCase.axaml.cs
deleted file mode 100644
index 2379bcc..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/NumberUpDownShowCase.axaml.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class NumberUpDownShowCase : UserControl
-{
- public NumberUpDownShowCase()
- {
- InitializeComponent();
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/Overview.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/Overview.axaml
deleted file mode 100644
index 8cd133f..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/Overview.axaml
+++ /dev/null
@@ -1,425 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/Overview.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/Overview.axaml.cs
deleted file mode 100644
index 40a4037..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/Overview.axaml.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class Overview : UserControl
-{
- public Overview()
- {
- InitializeComponent();
- }
-
- public string MainInstall { get; set; } = "dotnet add package AtomUI --version 11.0.7";
-
- public string MainStyle { get; set; } = """
-
-
-
- """;
-
- public string ColorPickerInstall { get; set; } = "dotnet add package AtomUI.ColorPicker --version 11.0.7";
-
- public string ColorPickerStyle { get; set; } = """
-
-
-
- """;
-
- public string DataGridInstall { get; set; } = "dotnet add package AtomUI.DataGrid --version 11.0.7";
-
- public string DataGridStyle { get; set; } = """
-
-
-
- """;
-
- public string TreeDataGridInstall { get; set; } = "dotnet add package AtomUI.TreeDataGrid --version 11.0.7";
-
- public string TreeDataGridStyle { get; set; } = """
-
-
-
- """;
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/PaginationShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/PaginationShowCase.axaml
deleted file mode 100644
index 7c82c72..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/PaginationShowCase.axaml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/PaginationShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/PaginationShowCase.axaml.cs
deleted file mode 100644
index 34080ce..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/PaginationShowCase.axaml.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class PaginationShowCase : UserControl
-{
- public PaginationShowCase()
- {
- InitializeComponent();
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/PaletteShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/PaletteShowCase.axaml
deleted file mode 100644
index fe1ad49..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/PaletteShowCase.axaml
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/PaletteShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/PaletteShowCase.axaml.cs
deleted file mode 100644
index 10e8e31..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/PaletteShowCase.axaml.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-using AtomUI.Demo.Desktop.ViewModels;
-using Avalonia.Controls;
-using Avalonia.Controls.Primitives;
-using Avalonia.Threading;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class PaletteShowCase : UserControl
-{
- public PaletteShowCase()
- {
- InitializeComponent();
- }
-
- protected override async void OnApplyTemplate(TemplateAppliedEventArgs e)
- {
- base.OnApplyTemplate(e);
- var vm = new PaletteDemoViewModel();
- await Dispatcher.UIThread.InvokeAsync(() => { vm.InitializeResources(); });
- DataContext = vm;
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/PopupConfirmShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/PopupConfirmShowCase.axaml
deleted file mode 100644
index 87b4466..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/PopupConfirmShowCase.axaml
+++ /dev/null
@@ -1,184 +0,0 @@
-
-
-
-
- Delete
-
-
-
-
-
- Delete
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- LT
-
-
-
- Left
-
-
-
- LB
-
-
-
- TL
-
-
-
- Top
-
-
-
- TR
-
-
-
- RT
-
-
-
- Right
-
-
-
- RB
-
-
-
- BL
-
-
-
- Bottom
-
-
-
- BR
-
-
-
-
-
-
-
- Delete
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/PopupConfirmShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/PopupConfirmShowCase.axaml.cs
deleted file mode 100644
index 3b418fb..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/PopupConfirmShowCase.axaml.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class PopupConfirmShowCase : UserControl
-{
- public PopupConfirmShowCase()
- {
- InitializeComponent();
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/ProgressBarShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/ProgressBarShowCase.axaml
deleted file mode 100644
index bbbf7a6..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/ProgressBarShowCase.axaml
+++ /dev/null
@@ -1,382 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Sub
- Add
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/ProgressBarShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/ProgressBarShowCase.axaml.cs
deleted file mode 100644
index 1da51c4..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/ProgressBarShowCase.axaml.cs
+++ /dev/null
@@ -1,139 +0,0 @@
-using AtomUI.Controls;
-using Avalonia;
-using Avalonia.Controls;
-using Avalonia.Media;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class ProgressBarShowCase : UserControl
-{
- public LinearGradientBrush TwoStopsGradientStrokeColor { get; set; }
-
- public LinearGradientBrush ThreeStopsGradientStrokeColor { get; set; }
-
- public List StepsChunkBrushes { get; set; }
-
- public PercentPosition InnerStartPercentPosition { get; set; }
- public PercentPosition InnerCenterPercentPosition { get; set; }
- public PercentPosition InnerEndPercentPosition { get; set; }
-
- public PercentPosition OutterStartPercentPosition { get; set; }
- public PercentPosition OutterCenterPercentPosition { get; set; }
- public PercentPosition OutterEndPercentPosition { get; set; }
-
- public static readonly StyledProperty ProgressValueProperty =
- AvaloniaProperty.Register(nameof(ProgressValue), 30);
-
- public static readonly StyledProperty ToggleDisabledTextProperty =
- AvaloniaProperty.Register(nameof(ToggleDisabledText), "Disable");
-
- public static readonly StyledProperty ToggleStatusProperty =
- AvaloniaProperty.Register(nameof(ToggleStatus), true);
-
- public double ProgressValue
- {
- get => GetValue(ProgressValueProperty);
- set => SetValue(ProgressValueProperty, value);
- }
-
- public string ToggleDisabledText
- {
- get => GetValue(ToggleDisabledTextProperty);
- set => SetValue(ToggleDisabledTextProperty, value);
- }
-
- public bool ToggleStatus
- {
- get => GetValue(ToggleStatusProperty);
- set => SetValue(ToggleStatusProperty, value);
- }
-
- public ProgressBarShowCase()
- {
- InitializeComponent();
- DataContext = this;
-
- TwoStopsGradientStrokeColor = new LinearGradientBrush
- {
- GradientStops =
- {
- new GradientStop(Color.Parse("#108ee9"), 0),
- new GradientStop(Color.Parse("#87d068"), 1)
- }
- };
- ThreeStopsGradientStrokeColor = new LinearGradientBrush
- {
- GradientStops =
- {
- new GradientStop(Color.Parse("#87d068"), 0),
- new GradientStop(Color.Parse("#ffe58f"), 0.5),
- new GradientStop(Color.Parse("#ffccc7"), 1)
- }
- };
- StepsChunkBrushes = new List
- {
- new SolidColorBrush(Colors.Green),
- new SolidColorBrush(Colors.Green),
- new SolidColorBrush(Colors.Red)
- };
-
- InnerStartPercentPosition = new PercentPosition
- {
- IsInner = true,
- Alignment = LinePercentAlignment.Start
- };
- InnerCenterPercentPosition = new PercentPosition
- {
- IsInner = true,
- Alignment = LinePercentAlignment.Center
- };
- InnerEndPercentPosition = new PercentPosition
- {
- IsInner = true,
- Alignment = LinePercentAlignment.End
- };
-
- OutterStartPercentPosition = new PercentPosition
- {
- IsInner = false,
- Alignment = LinePercentAlignment.Start
- };
- OutterCenterPercentPosition = new PercentPosition
- {
- IsInner = false,
- Alignment = LinePercentAlignment.Center
- };
- OutterEndPercentPosition = new PercentPosition
- {
- IsInner = false,
- Alignment = LinePercentAlignment.End
- };
- }
-
- public void AddProgressValue()
- {
- var value = ProgressValue;
- value += 10;
- ProgressValue = Math.Min(value, 100);
- }
-
- public void SubProgressValue()
- {
- var value = ProgressValue;
- value -= 10;
- ProgressValue = Math.Max(value, 0);
- }
-
- public void ToggleEnabledStatus()
- {
- ToggleStatus = !ToggleStatus;
- if (ToggleStatus)
- {
- ToggleDisabledText = "Disable";
- }
- else
- {
- ToggleDisabledText = "Enable";
- }
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/RadioButtonShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/RadioButtonShowCase.axaml
deleted file mode 100644
index cb49aba..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/RadioButtonShowCase.axaml
+++ /dev/null
@@ -1,185 +0,0 @@
-
-
-
-
-
-
-
- Radio
-
-
-
-
-
-
- Radio1
- Radio2
-
-
- toggle disabled
-
-
-
-
-
-
- A
- B
- C
- D
-
-
-
-
-
- Option A
- Option B
- Option C
- Option D
-
-
-
-
-
-
- Apple
- Pear
- Orange
-
-
- Apple
- Pear
- Orange
-
-
-
-
- Apple
- Pear
- Orange
-
-
-
- Apple
- Pear
- Orange
-
-
-
-
-
-
-
- Hangzhou
- Shanghai
- Beijing
- Chengdu
-
-
-
- Hangzhou
- Shanghai
- Beijing
- Chengdu
-
-
-
-
- Hangzhou
- Shanghai
- Beijing
- Chengdu
-
-
-
-
-
-
-
-
-
- Hangzhou
- Shanghai
- Beijing
- Chengdu
-
-
-
- Hangzhou
- Shanghai
- Beijing
- Chengdu
-
-
-
-
- Hangzhou
- Shanghai
- Beijing
- Chengdu
-
-
-
-
-
-
-
-
- Hangzhou
- Shanghai
- Beijing
- Chengdu
-
-
-
- Hangzhou
- Shanghai
- Beijing
- Chengdu
-
-
-
-
- Hangzhou
- Shanghai
- Beijing
- Chengdu
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/RadioButtonShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/RadioButtonShowCase.axaml.cs
deleted file mode 100644
index fc8766f..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/RadioButtonShowCase.axaml.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class RadioButtonShowCase : UserControl
-{
- protected List CheckRadios { get; set; }
-
- public RadioButtonShowCase()
- {
- CheckRadios = new List
- {
- "ToggleDisabledRadioUnChecked",
- "ToggleDisabledRadioChecked"
- };
- InitializeComponent();
- }
-
- public static void ToggleDisabledStatus(object arg)
- {
- var btn = (arg as Button)!;
- var stackPanel = btn.Parent as StackPanel;
- var radioBtn1 = stackPanel?.FindControl("ToggleDisabledRadioUnChecked");
- var radioBtn2 = stackPanel?.FindControl("ToggleDisabledRadioChecked");
- if (radioBtn1 != null)
- {
- radioBtn1.IsEnabled = !radioBtn1.IsEnabled;
- }
-
- if (radioBtn2 != null)
- {
- radioBtn2.IsEnabled = !radioBtn2.IsEnabled;
- }
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/SegmentedShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/SegmentedShowCase.axaml
deleted file mode 100644
index 1db81db..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/SegmentedShowCase.axaml
+++ /dev/null
@@ -1,134 +0,0 @@
-
-
-
-
-
- Daily
- Weekly
- Monthly
- Quarterly
- Yearly
-
-
-
-
-
-
-
- 123
- 456
- longtext-longtext-longtext-longtext
-
-
-
-
-
-
-
- Map
- Transit
- Satellite
-
-
- Daily
- Weekly
- Monthly
- Quarterly
- Yearly
-
-
-
-
-
-
-
- Daily
- Weekly
- Monthly
- Quarterly
- Yearly
-
-
-
- Daily
- Weekly
- Monthly
- Quarterly
- Yearly
-
-
-
- Daily
- Weekly
- Monthly
- Quarterly
- Yearly
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- List
-
-
-
-
-
-
- Ava 牛逼
-
-
-
-
-
-
-
-
-
- Ava 牛逼
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/SegmentedShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/SegmentedShowCase.axaml.cs
deleted file mode 100644
index 6033ca1..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/SegmentedShowCase.axaml.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class SegmentedShowCase : UserControl
-{
- public SegmentedShowCase()
- {
- InitializeComponent();
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/SeparatorShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/SeparatorShowCase.axaml
deleted file mode 100644
index 3d70c9d..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/SeparatorShowCase.axaml
+++ /dev/null
@@ -1,104 +0,0 @@
-
-
-
-
-
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo.
-
-
-
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo.
-
-
-
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo.
-
-
-
-
-
-
-
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo.
-
-
-
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo.
-
-
-
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo.
-
-
-
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo.
-
-
-
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo.
-
-
-
-
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo.
-
-
-
-
-
-
-
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo.
-
-
-
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo.
-
-
-
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo.
-
-
-
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo.
-
-
-
-
-
-
-
- Item1
-
-
-
- Item2
-
-
-
- Item3
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/SeparatorShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/SeparatorShowCase.axaml.cs
deleted file mode 100644
index ae05067..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/SeparatorShowCase.axaml.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class SeparatorShowCase : UserControl
-{
- public SeparatorShowCase()
- {
- InitializeComponent();
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/SliderShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/SliderShowCase.axaml
deleted file mode 100644
index e549789..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/SliderShowCase.axaml
+++ /dev/null
@@ -1,142 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- Disabled:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- included=true
-
-
-
-
- included=false
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/SliderShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/SliderShowCase.axaml.cs
deleted file mode 100644
index 444abb5..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/SliderShowCase.axaml.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-using AtomUI.Controls;
-using Avalonia;
-using Avalonia.Collections;
-using Avalonia.Controls;
-using Avalonia.Media;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class SliderShowCase : UserControl
-{
- public static readonly StyledProperty?> SliderMarksProperty =
- AvaloniaProperty.Register?>(nameof(SliderMarks));
-
- public static readonly StyledProperty NormalDisabledProperty =
- AvaloniaProperty.Register(nameof(NormalEnabled), true);
-
- public AvaloniaList? SliderMarks
- {
- get => GetValue(SliderMarksProperty);
- set => SetValue(SliderMarksProperty, value);
- }
-
- public bool NormalEnabled
- {
- get => GetValue(NormalDisabledProperty);
- set => SetValue(NormalDisabledProperty, value);
- }
-
- public SliderShowCase()
- {
- InitializeComponent();
- SliderMarks = new AvaloniaList();
- SliderMarks.Add(new SliderMark("0°C", 0));
- SliderMarks.Add(new SliderMark("26°C", 26));
- SliderMarks.Add(new SliderMark("37°C", 37));
- SliderMarks.Add(new SliderMark("100°C", 100)
- {
- LabelFontWeight = FontWeight.Bold,
- LabelBrush = new SolidColorBrush(Colors.Red)
- });
- DataContext = this;
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/SplitButtonShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/SplitButtonShowCase.axaml
deleted file mode 100644
index 4f80620..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/SplitButtonShowCase.axaml
+++ /dev/null
@@ -1,243 +0,0 @@
-
-
-
-
- Hover me
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Large
-
-
-
-
-
-
-
-
-
- Middle
-
-
-
-
-
-
-
-
-
- Small
-
-
-
-
-
-
-
-
-
-
-
- Large
-
-
-
-
-
-
-
-
-
- Middle
-
-
-
-
-
-
-
-
-
- Small
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Default
-
-
-
-
-
-
-
-
-
-
- Primary
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Default
-
-
-
-
-
-
-
-
-
-
- Primary
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Hover Me
-
-
-
-
-
-
-
-
-
-
- Click Me
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/SplitButtonShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/SplitButtonShowCase.axaml.cs
deleted file mode 100644
index 324936c..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/SplitButtonShowCase.axaml.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class SplitButtonShowCase : UserControl
-{
- public SplitButtonShowCase()
- {
- InitializeComponent();
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/SwitchShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/SwitchShowCase.axaml
deleted file mode 100644
index 55172df..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/SwitchShowCase.axaml
+++ /dev/null
@@ -1,88 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
- toggle disabled
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- toggle loading
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/SwitchShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/SwitchShowCase.axaml.cs
deleted file mode 100644
index b7c0141..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/SwitchShowCase.axaml.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using Avalonia.Controls;
-using Button = AtomUI.Controls.Button;
-using ToggleSwitch = AtomUI.Controls.ToggleSwitch;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class SwitchShowCase : UserControl
-{
- public SwitchShowCase()
- {
- InitializeComponent();
- }
-
- public static void ToggleDisabledStatus(object arg)
- {
- var switchBtn = (arg as ToggleSwitch)!;
- switchBtn.IsEnabled = !switchBtn.IsEnabled;
- }
-
- public static void ToggleLoadingStatus(object arg)
- {
- var btn = (arg as Button)!;
- var stackPanel = btn.Parent as StackPanel;
- var toggleSwitchDefault = stackPanel?.Children[0] as ToggleSwitch;
- var toggleSwitchSmall = stackPanel?.Children[1] as ToggleSwitch;
- if (toggleSwitchDefault is not null)
- {
- toggleSwitchDefault.IsLoading = !toggleSwitchDefault.IsLoading;
- }
-
- if (toggleSwitchSmall is not null)
- {
- toggleSwitchSmall.IsLoading = !toggleSwitchSmall.IsLoading;
- }
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/TabControlShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/TabControlShowCase.axaml
deleted file mode 100644
index 08ce3fa..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/TabControlShowCase.axaml
+++ /dev/null
@@ -1,481 +0,0 @@
-
-
-
-
-
-
-
- Content of Tab Pane 1
- Content of Tab Pane 2
- Content of Tab Pane 3
-
-
-
-
-
-
-
- Content of Tab Pane 1
- Content of Tab Pane 2
- Content of Tab Pane 3
-
-
-
- Content of Tab Pane 1
- Content of Tab Pane 2
- Content of Tab Pane 3
-
-
-
-
-
-
-
- Content of Tab Pane 1
- Content of Tab Pane 2
- Content of Tab Pane 3
-
-
-
- Content of Tab Pane 1
- Content of Tab Pane 2
- Content of Tab Pane 3
-
-
-
-
-
-
-
-
- Content of Tab Pane 1
- Content of Tab Pane 2
- Content of Tab Pane 3
-
-
-
-
-
-
-
-
- Content of Tab Pane 1
- Content of Tab Pane 2
- Content of Tab Pane 3
- Content of Tab Pane 4
- Content of Tab Pane 5
- Content of Tab Pane 6
- Content of Tab Pane 7
- Content of Tab Pane 8
- Content of Tab Pane 9
- Content of Tab Pane 10
- Content of Tab Pane 11
- Content of Tab Pane 12
- Content of Tab Pane 13
- Content of Tab Pane 14
- Content of Tab Pane 15
- Content of Tab Pane 16
- Content of Tab Pane 17
- Content of Tab Pane 18
- Content of Tab Pane 19
- Content of Tab Pane 20
-
-
-
- Content of Tab Pane 1
- Content of Tab Pane 2
- Content of Tab Pane 3
- Content of Tab Pane 4
- Content of Tab Pane 5
- Content of Tab Pane 6
- Content of Tab Pane 7
- Content of Tab Pane 8
- Content of Tab Pane 9
- Content of Tab Pane 10
- Content of Tab Pane 11
- Content of Tab Pane 12
- Content of Tab Pane 13
- Content of Tab Pane 14
- Content of Tab Pane 15
- Content of Tab Pane 16
- Content of Tab Pane 17
- Content of Tab Pane 18
- Content of Tab Pane 19
- Content of Tab Pane 20
-
-
-
-
-
-
-
-
- Content of Tab Pane 1
- Content of Tab Pane 2
- Content of Tab Pane 3
-
-
-
-
-
-
-
-
- Tab position:
-
- Top
- Bottom
- Left
- Right
-
-
-
-
- Content of Tab Pane 1
- Content of Tab Pane 2
- Content of Tab Pane 3
- Content of Tab Pane 4
- Content of Tab Pane 5
- Content of Tab Pane 6
- Content of Tab Pane 7
- Content of Tab Pane 8
-
-
-
-
-
-
-
-
- Tab position:
-
- Top
- Bottom
- Left
- Right
-
-
-
-
- Content of Tab Pane 1
- Content of Tab Pane 2
- Content of Tab Pane 3
- Content of Tab Pane 4
- Content of Tab Pane 5
- Content of Tab Pane 6
- Content of Tab Pane 7
- Content of Tab Pane 8
- Content of Tab Pane 9
- Content of Tab Pane 10
- Content of Tab Pane 11
- Content of Tab Pane 12
-
-
-
-
-
-
-
-
- Tab position:
-
- Small
- Middle
- Large
-
-
-
-
- Content of Tab Pane 1
- Content of Tab Pane 2
- Content of Tab Pane 3
- Content of Tab Pane 4
-
-
-
- Content of Tab Pane 1
- Content of Tab Pane 2
- Content of Tab Pane 3
- Content of Tab Pane 4
-
-
-
-
-
-
-
- Content of Tab Pane 1
- Content of Tab Pane 2
- Content of Tab Pane 3
- Content of Tab Pane 4
-
-
-
-
-
-
-
-
-
-
-
- Tab 1
- Tab 2
- Tab 3
-
-
-
-
-
-
-
- Tab 1
- Tab 2
- Tab 3
-
-
-
- Tab 1
- Tab 2
- Tab 3
-
-
-
-
-
-
-
- Tab 1
- Tab 2
- Tab 3
-
-
-
- Tab 1
- Tab 2
- Tab 3
-
-
-
-
-
-
-
-
- Tab 1
- Tab 2
- Tab 3
-
-
-
-
-
-
-
- Tab 1
- Tab 2
- Tab 3
- Tab 4
- Tab 5
- Tab 6
- Tab 7
- Tab 8
- Tab 9
- Tab 10
- Tab 11
- Tab 12
- Tab 13
- Tab 14
- Tab 15
- Tab 16
- Tab 17
- Tab 18
- Tab 19
- Tab 20
- Tab 21
- Tab 22
- Tab 23
-
-
-
-
-
-
-
- Tab 1
- Tab 2
- Tab 3
- Tab 4
-
-
-
-
-
-
-
-
- Tab position:
-
- Top
- Bottom
- Left
- Right
-
-
-
-
-
- Tab 1
- Tab 2
- Tab 3
- Tab 4
-
-
- Tab Content
-
-
-
-
-
-
-
-
-
- Tab position:
-
- Top
- Bottom
- Left
- Right
-
-
-
-
-
- Tab 1
- Tab 2
- Tab 3
- Tab 4
-
-
- Tab Content
-
-
-
-
-
-
-
-
-
- Tab position:
-
- Small
- Middle
- Large
-
-
-
-
- Tab 1
- Tab 2
- Tab 3
- Tab 4
-
-
-
- Tab 1
- Tab 2
- Tab 3
- Tab 4
-
-
-
-
-
-
-
-
- Tab 1
- Tab 2
- Tab 3
- Tab 4
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/TabControlShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/TabControlShowCase.axaml.cs
deleted file mode 100644
index d557d50..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/TabControlShowCase.axaml.cs
+++ /dev/null
@@ -1,228 +0,0 @@
-using AtomUI.Controls;
-using Avalonia;
-using Avalonia.Controls;
-using Avalonia.Interactivity;
-using TabItem = AtomUI.Controls.TabItem;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class TabControlShowCase : UserControl
-{
- #region TabStrip
-
- public static readonly StyledProperty PositionTabStripPlacementProperty =
- AvaloniaProperty.Register(nameof(PositionTabStripPlacement), Dock.Top);
-
- public static readonly StyledProperty PositionCardTabStripPlacementProperty =
- AvaloniaProperty.Register(nameof(PositionCardTabStripPlacement), Dock.Top);
-
- public static readonly StyledProperty SizeTypeTabStripProperty =
- AvaloniaProperty.Register(nameof(SizeTypeTabStrip), SizeType.Middle);
-
- public Dock PositionTabStripPlacement
- {
- get => GetValue(PositionTabStripPlacementProperty);
- set => SetValue(PositionTabStripPlacementProperty, value);
- }
-
- public Dock PositionCardTabStripPlacement
- {
- get => GetValue(PositionCardTabStripPlacementProperty);
- set => SetValue(PositionCardTabStripPlacementProperty, value);
- }
-
- public SizeType SizeTypeTabStrip
- {
- get => GetValue(SizeTypeTabStripProperty);
- set => SetValue(SizeTypeTabStripProperty, value);
- }
-
- #endregion
-
- #region TabControl
-
- public static readonly StyledProperty PositionTabControlPlacementProperty =
- AvaloniaProperty.Register(nameof(PositionTabControlPlacement), Dock.Top);
-
- public static readonly StyledProperty PositionCardTabControlPlacementProperty =
- AvaloniaProperty.Register(nameof(PositionCardTabControlPlacement), Dock.Top);
-
- public static readonly StyledProperty SizeTypeTabControlProperty =
- AvaloniaProperty.Register(nameof(SizeTypeTabControl), SizeType.Middle);
-
- public Dock PositionTabControlPlacement
- {
- get => GetValue(PositionTabControlPlacementProperty);
- set => SetValue(PositionTabControlPlacementProperty, value);
- }
-
- public Dock PositionCardTabControlPlacement
- {
- get => GetValue(PositionCardTabControlPlacementProperty);
- set => SetValue(PositionCardTabControlPlacementProperty, value);
- }
-
- public SizeType SizeTypeTabControl
- {
- get => GetValue(SizeTypeTabControlProperty);
- set => SetValue(SizeTypeTabControlProperty, value);
- }
-
- #endregion
-
- public TabControlShowCase()
- {
- InitializeComponent();
- DataContext = this;
- PositionTabStripOptionGroup.OptionCheckedChanged += HandleTabStripPlacementOptionCheckedChanged;
- PositionCardTabStripOptionGroup.OptionCheckedChanged += HandleCardTabStripPlacementOptionCheckedChanged;
- SizeTypeTabStripOptionGroup.OptionCheckedChanged += HandleTabStripSizeTypeOptionCheckedChanged;
- AddTabDemoStrip.AddTabRequest += HandleTabStripAddTabRequest;
-
- PositionTabControlOptionGroup.OptionCheckedChanged += HandleTabControlPlacementOptionCheckedChanged;
- PositionCardTabControlOptionGroup.OptionCheckedChanged += HandleCardTabControlPlacementOptionCheckedChanged;
- SizeTypeTabControlOptionGroup.OptionCheckedChanged += HandleTabControlSizeTypeOptionCheckedChanged;
- AddTabDemoTabControl.AddTabRequest += HandleTabControlAddTabRequest;
- }
-
- #region TabStrip
-
- private void HandleTabStripPlacementOptionCheckedChanged(object? sender, OptionCheckedChangedEventArgs args)
- {
- if (args.Index == 0)
- {
- PositionTabStripPlacement = Dock.Top;
- }
- else if (args.Index == 1)
- {
- PositionTabStripPlacement = Dock.Bottom;
- }
- else if (args.Index == 2)
- {
- PositionTabStripPlacement = Dock.Left;
- }
- else
- {
- PositionTabStripPlacement = Dock.Right;
- }
- }
-
- private void HandleCardTabStripPlacementOptionCheckedChanged(object? sender, OptionCheckedChangedEventArgs args)
- {
- if (args.Index == 0)
- {
- PositionCardTabStripPlacement = Dock.Top;
- }
- else if (args.Index == 1)
- {
- PositionCardTabStripPlacement = Dock.Bottom;
- }
- else if (args.Index == 2)
- {
- PositionCardTabStripPlacement = Dock.Left;
- }
- else
- {
- PositionCardTabStripPlacement = Dock.Right;
- }
- }
-
- private void HandleTabStripSizeTypeOptionCheckedChanged(object? sender, OptionCheckedChangedEventArgs args)
- {
- if (args.Index == 0)
- {
- SizeTypeTabStrip = SizeType.Small;
- }
- else if (args.Index == 1)
- {
- SizeTypeTabStrip = SizeType.Middle;
- }
- else
- {
- SizeTypeTabStrip = SizeType.Large;
- }
- }
-
- private void HandleTabStripAddTabRequest(object? sender, RoutedEventArgs args)
- {
- var index = AddTabDemoStrip.ItemCount;
- AddTabDemoStrip.Items.Add(new TabStripItem
- {
- Content = $"new tab {index}",
- IsClosable = true
- });
- }
-
- #endregion
-
- #region TabControl
-
- private void HandleTabControlPlacementOptionCheckedChanged(object? sender, OptionCheckedChangedEventArgs args)
- {
- if (args.Index == 0)
- {
- PositionTabControlPlacement = Dock.Top;
- }
- else if (args.Index == 1)
- {
- PositionTabControlPlacement = Dock.Bottom;
- }
- else if (args.Index == 2)
- {
- PositionTabControlPlacement = Dock.Left;
- }
- else
- {
- PositionTabControlPlacement = Dock.Right;
- }
- }
-
- private void HandleCardTabControlPlacementOptionCheckedChanged(object? sender, OptionCheckedChangedEventArgs args)
- {
- if (args.Index == 0)
- {
- PositionCardTabControlPlacement = Dock.Top;
- }
- else if (args.Index == 1)
- {
- PositionCardTabControlPlacement = Dock.Bottom;
- }
- else if (args.Index == 2)
- {
- PositionCardTabControlPlacement = Dock.Left;
- }
- else
- {
- PositionCardTabControlPlacement = Dock.Right;
- }
- }
-
- private void HandleTabControlSizeTypeOptionCheckedChanged(object? sender, OptionCheckedChangedEventArgs args)
- {
- if (args.Index == 0)
- {
- SizeTypeTabControl = SizeType.Small;
- }
- else if (args.Index == 1)
- {
- SizeTypeTabControl = SizeType.Middle;
- }
- else
- {
- SizeTypeTabControl = SizeType.Large;
- }
- }
-
- private void HandleTabControlAddTabRequest(object? sender, RoutedEventArgs args)
- {
- var index = AddTabDemoTabControl.ItemCount;
- AddTabDemoTabControl.Items.Add(new TabItem
- {
- Header = $"new tab {index}",
- Content = $"new tab content {index}",
- IsClosable = true
- });
- }
-
- #endregion
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/TagShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/TagShowCase.axaml
deleted file mode 100644
index f8d96fa..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/TagShowCase.axaml
+++ /dev/null
@@ -1,186 +0,0 @@
-
-
-
-
-
-
-
- Tag 1
- Link
- Prevent Default
-
-
-
-
- Tag 2
-
-
-
-
-
-
- Presets
-
- magenta
- red
- volcano
- orange
- gold
- lime
- green
- cyan
- blue
- geekblue
- purple
-
-
- Custom
-
- #f50
- #2db7f5
- #87d068
- #108ee9
-
-
-
-
-
-
-
- Without icon
-
- success
- processing
- error
- warning
- default
-
-
- Custom
-
-
-
-
-
- success
-
-
-
-
-
- processing
-
-
-
-
-
- error
-
-
-
-
-
- warning
-
-
-
-
-
- default
-
-
-
-
-
- default
-
-
-
-
-
-
-
-
-
-
-
-
- Twitter
-
-
-
-
-
- Youtube
-
-
-
-
-
- Facebook
-
-
-
-
-
- Linkedin
-
-
-
-
-
-
-
- Tag1
- Tag2
- Tag3
- Tag4
-
-
-
-
- magenta
- red
- volcano
- orange
- gold
- lime
- green
- cyan
- blue
- geekblue
- purple
-
- success
- processing
- error
- warning
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/TagShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/TagShowCase.axaml.cs
deleted file mode 100644
index a0cec81..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/TagShowCase.axaml.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class TagShowCase : UserControl
-{
- public TagShowCase()
- {
- InitializeComponent();
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/TimePickerShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/TimePickerShowCase.axaml
deleted file mode 100644
index 45f8ce6..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/TimePickerShowCase.axaml
+++ /dev/null
@@ -1,156 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/TimePickerShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/TimePickerShowCase.axaml.cs
deleted file mode 100644
index a5a7b78..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/TimePickerShowCase.axaml.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class TimePickerShowCase : UserControl
-{
- public TimePickerShowCase()
- {
- InitializeComponent();
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/TimelineShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/TimelineShowCase.axaml
deleted file mode 100644
index 9266649..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/TimelineShowCase.axaml
+++ /dev/null
@@ -1,169 +0,0 @@
-
-
-
-
-
-
-
- 2024-01-01 AtomUI Officially Initiated
-
-
-
-
- 2024-08-12 After more than 7 months of development, AtomUI is officially open-source.
- Welcome everyone to follow us.
-
-
-
-
- 2024-10-01 Release of the 0.0.1 Preview Version
-
-
-
-
-
-
-
-
-
- 2024-01-01 AtomUI Officially Initiated
-
-
-
-
- 2024-01-01 AtomUI Officially Initiated
-
-
-
-
- 2024-01-01 AtomUI Officially Initiated
-
-
-
-
- 2024-01-01 AtomUI Officially Initiated
-
-
-
-
- 2024-01-01 AtomUI Officially Initiated
-
-
-
-
-
-
-
-
-
-
- 2024-01-01 AtomUI Officially Initiated. 1
-
-
-
-
- 2024-01-01 AtomUI Officially Initiated. 2
-
-
-
-
- 2024-01-01 AtomUI Officially Initiated. 3
-
-
-
-
- Toggle Reverse
-
-
-
-
-
-
-
-
- 2024-01-01 AtomUI Officially Initiated
-
-
-
-
- 2024-01-01 AtomUI Officially Initiated
-
-
-
-
- 2024-01-01 AtomUI Officially Initiated
-
-
-
-
- 2024-01-01 AtomUI Officially Initiated
-
-
-
-
-
-
-
-
- Left
- Right
- Alternate
-
-
-
-
- 2024-01-01 AtomUI Officially Initiated
-
-
-
-
- 2024-01-01 AtomUI Officially Initiated
-
-
-
-
- 2024-01-01 AtomUI Officially Initiated
-
-
-
-
- 2024-01-01 AtomUI Officially Initiated
-
-
-
-
-
-
-
-
-
-
- 2024-01-01 AtomUI Officially Initiated
-
-
-
-
- 2024-01-01 AtomUI Officially Initiated
-
-
-
-
- 2024-01-01 AtomUI Officially Initiated
-
-
-
-
- 2024-01-01 AtomUI Officially Initiated
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/TimelineShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/TimelineShowCase.axaml.cs
deleted file mode 100644
index 2218ab3..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/TimelineShowCase.axaml.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-using AtomUI.Controls;
-using Avalonia.Controls;
-using Avalonia.Markup.Xaml;
-using Avalonia.Media;
-using RadioButton = Avalonia.Controls.RadioButton;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class TimelineShowCase : UserControl
-{
-
- public TimelineShowCase()
- {
- InitializeComponent();
-
- ModeLeft.Checked += ModeChecked;
-
- ModeRight.Checked += ModeChecked;
-
- ModeAlternate.Checked += ModeChecked;
-
- ReverseButton.Click += ReverseButtonClick;
-
- }
-
- private void ReverseButtonClick(object? sender, Avalonia.Interactivity.RoutedEventArgs e)
- {
- ReverseTimeline.Reverse = !ReverseTimeline.Reverse;
- }
-
- private void ModeChecked(object? sender, Avalonia.Interactivity.RoutedEventArgs e)
- {
- if (sender is RadioButton radioButton)
- {
- if (radioButton.Content?.ToString() == "Left")
- {
- LabelTimeline.Mode = TimeLineMode.Left;
- }
- else if (radioButton.Content?.ToString() == "Right")
- {
- LabelTimeline.Mode = TimeLineMode.Right;
- }
- else if (radioButton.Content?.ToString() == "Alternate")
- {
- LabelTimeline.Mode = TimeLineMode.Alternate;
- }
- }
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/TitleBarShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/TitleBarShowCase.axaml
deleted file mode 100644
index 9962a68..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/TitleBarShowCase.axaml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/TitleBarShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/TitleBarShowCase.axaml.cs
deleted file mode 100644
index 533f12a..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/TitleBarShowCase.axaml.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class TitleBarShowCase : UserControl
-{
- public TitleBarShowCase()
- {
- InitializeComponent();
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/ToolBarShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/ToolBarShowCase.axaml
deleted file mode 100644
index 2d1f375..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/ToolBarShowCase.axaml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/ToolBarShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/ToolBarShowCase.axaml.cs
deleted file mode 100644
index 4771d92..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/ToolBarShowCase.axaml.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class ToolBarShowCase : UserControl
-{
- public ToolBarShowCase()
- {
- InitializeComponent();
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/TooltipShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/TooltipShowCase.axaml
deleted file mode 100644
index 9ca06e0..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/TooltipShowCase.axaml
+++ /dev/null
@@ -1,324 +0,0 @@
-
-
-
-
-
- Tooltip will show on mouse enter.
- prompt text
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- prompt text
- LeftEdgeAlignedTop
-
-
- prompt text
- Left
-
-
- prompt text
- LeftEdgeAlignedBottom
-
-
-
- prompt text
- TopEdgeAlignedLeft
-
-
- prompt text
- Top
-
-
- prompt text
- TopEdgeAlignedRight
-
-
-
- prompt text
- RightEdgeAlignedTop
-
-
- prompt text
- Right
-
-
- prompt text
- RightEdgeAlignedBottom
-
-
-
- prompt text
- BottomEdgeAlignedLeft
-
-
- prompt text
- Bottom
-
-
- prompt text
- BottomEdgeAlignedRight
-
-
-
-
-
-
-
-
- Show
- Hide
- Center
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- prompt text
- LeftEdgeAlignedTop
-
-
- prompt text
- Left
-
-
- prompt text
- LeftEdgeAlignedBottom
-
-
-
- prompt text
- TopEdgeAlignedLeft
-
-
- prompt text
- Top
-
-
- prompt text
- TopEdgeAlignedRight
-
-
-
- prompt text
- RightEdgeAlignedTop
-
-
-
- prompt text
- Right
-
-
-
- prompt text
- RightEdgeAlignedBottom
-
-
-
- prompt text
- BottomEdgeAlignedLeft
-
-
-
- prompt text
- Bottom
-
-
-
- prompt text
- BottomEdgeAlignedRight
-
-
-
-
-
-
-
-
-
-
-
- Presets
-
-
- prompt text
- Top
-
-
- prompt text
- Top
-
-
-
- prompt text
- Top
-
-
-
- prompt text
- Top
-
-
-
- prompt text
- Top
-
-
-
- prompt text
- Top
-
-
-
- prompt text
- Top
-
-
-
- prompt text
- Top
-
-
-
- prompt text
- Top
-
-
-
- prompt text
- Top
-
-
-
- prompt text
- Top
-
-
-
- prompt text
- Top
-
-
-
- prompt text
- Top
-
-
-
- prompt text
- Top
-
-
-
- Custom
-
-
- prompt text
- Top
-
-
-
- prompt text
- Top
-
-
-
- prompt text
- Top
-
-
-
- prompt text
- Top
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/TooltipShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/TooltipShowCase.axaml.cs
deleted file mode 100644
index 99e109d..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/TooltipShowCase.axaml.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-using AtomUI.Controls;
-using Avalonia;
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class TooltipShowCase : UserControl
-{
- public static readonly StyledProperty ShowArrowProperty =
- AvaloniaProperty.Register(nameof(ShowArrow), true);
-
- public static readonly StyledProperty IsPointAtCenterProperty =
- AvaloniaProperty.Register(nameof(IsPointAtCenter));
-
- private readonly Segmented _segmented;
-
- public bool ShowArrow
- {
- get => GetValue(ShowArrowProperty);
- set => SetValue(ShowArrowProperty, value);
- }
-
- public bool IsPointAtCenter
- {
- get => GetValue(IsPointAtCenterProperty);
- set => SetValue(IsPointAtCenterProperty, value);
- }
-
- public TooltipShowCase()
- {
- DataContext = this;
- InitializeComponent();
- var control = this as Control;
- _segmented = control.FindControl("ArrowSegmented")!;
- _segmented.SelectionChanged += (sender, args) =>
- {
- if (_segmented.SelectedIndex == 0)
- {
- ShowArrow = true;
- IsPointAtCenter = false;
- }
- else if (_segmented.SelectedIndex == 1)
- {
- ShowArrow = false;
- IsPointAtCenter = false;
- }
- else if (_segmented.SelectedIndex == 2)
- {
- IsPointAtCenter = true;
- ShowArrow = true;
- }
- };
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/TreeViewShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/TreeViewShowCase.axaml
deleted file mode 100644
index 8ce42ca..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/TreeViewShowCase.axaml
+++ /dev/null
@@ -1,122 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- showLine:
-
-
-
-
- showIcon:
-
-
-
-
- ShowLeafSwitcher:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/TreeViewShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/TreeViewShowCase.axaml.cs
deleted file mode 100644
index 1433d58..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/TreeViewShowCase.axaml.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-using Avalonia;
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class TreeViewShowCase : UserControl
-{
- public static readonly StyledProperty ShowLineSwitchCheckedProperty =
- AvaloniaProperty.Register(nameof(ShowLineSwitchChecked), true);
-
- public static readonly StyledProperty ShowIconSwitchCheckedProperty =
- AvaloniaProperty.Register(nameof(ShowIconSwitchChecked));
-
- public static readonly StyledProperty ShowLeafSwitcherSwitchCheckedProperty =
- AvaloniaProperty.Register(nameof(ShowLeafSwitcherSwitchChecked));
-
- public bool ShowLineSwitchChecked
- {
- get => GetValue(ShowLineSwitchCheckedProperty);
- set => SetValue(ShowLineSwitchCheckedProperty, value);
- }
-
- public bool ShowIconSwitchChecked
- {
- get => GetValue(ShowIconSwitchCheckedProperty);
- set => SetValue(ShowIconSwitchCheckedProperty, value);
- }
-
- public bool ShowLeafSwitcherSwitchChecked
- {
- get => GetValue(ShowLeafSwitcherSwitchCheckedProperty);
- set => SetValue(ShowLeafSwitcherSwitchCheckedProperty, value);
- }
-
- public TreeViewShowCase()
- {
- InitializeComponent();
- DataContext = this;
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/WatermarkShowCase.axaml b/samples/AtomUI.Demo.Desktop/ShowCase/WatermarkShowCase.axaml
deleted file mode 100644
index 491e3f4..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/WatermarkShowCase.axaml
+++ /dev/null
@@ -1,46 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- The light-speed iteration of the digital world makes products more complex. However, human consciousness and attention resources are limited. Facing this design contradiction, the pursuit of natural interaction will be the consistent direction of Ant Design.
-
- Natural user cognition: According to cognitive psychology, about 80% of external information is obtained through visual channels. The most important visual elements in the interface design, including layout, colors, illustrations, icons, etc., should fully absorb the laws of nature, thereby reducing the user's cognitive cost and bringing authentic and smooth feelings. In some scenarios, opportunely adding other sensory channels such as hearing, touch can create a richer and more natural product experience.
-
- Natural user behavior: In the interaction with the system, the designer should fully understand the relationship between users, system roles, and task objectives, and also contextually organize system functions and services. At the same time, a series of methods such as behavior analysis, artificial intelligence and sensors could be applied to assist users to make effective decisions and reduce extra operations of users, to save users' mental and physical resources and make human-computer interaction more natural.
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/ShowCase/WatermarkShowCase.axaml.cs b/samples/AtomUI.Demo.Desktop/ShowCase/WatermarkShowCase.axaml.cs
deleted file mode 100644
index 7a4ab75..0000000
--- a/samples/AtomUI.Demo.Desktop/ShowCase/WatermarkShowCase.axaml.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using Avalonia.Controls;
-
-namespace AtomUI.Demo.Desktop.ShowCase;
-
-public partial class WatermarkShowCase : UserControl
-{
- public WatermarkShowCase()
- {
- InitializeComponent();
- }
-}
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/Themes/TabMenu.axaml b/samples/AtomUI.Demo.Desktop/Themes/TabMenu.axaml
deleted file mode 100644
index 0a1d6fe..0000000
--- a/samples/AtomUI.Demo.Desktop/Themes/TabMenu.axaml
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/Themes/ToggleButton.axaml b/samples/AtomUI.Demo.Desktop/Themes/ToggleButton.axaml
deleted file mode 100644
index 96805b5..0000000
--- a/samples/AtomUI.Demo.Desktop/Themes/ToggleButton.axaml
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/AtomUI.Demo.Desktop/Utils/EnumExtension.cs b/samples/AtomUI.Demo.Desktop/Utils/EnumExtension.cs
deleted file mode 100644
index f66f8c6..0000000
--- a/samples/AtomUI.Demo.Desktop/Utils/EnumExtension.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-using Avalonia.Markup.Xaml;
-
-namespace AtomUI.Demo.Desktop;
-
-///
-/// Xaml markup to get the enum values.
-///
-/// TODO 优化性能时可以考虑缓存类型和列表
-public class EnumExtension : MarkupExtension
-{
- [ConstructorArgument(nameof(Type))] public Type Type { get; set; }
-
- public EnumExtension(Type type)
- {
- Type = type;
- }
-
- public override object ProvideValue(IServiceProvider serviceProvider)
- {
- // Issue I7:
- // Array can not perform well for Items of ListBox.
- // Version : 11.0.0-preview4
- // By nlb at 2023.3.28.
- return Enum.GetValuesAsUnderlyingType(Type).OfType