2024-09-09 23:54:25 +08:00
|
|
|
<UserControl x:Class="AtomUI.Demo.Desktop.Views.MainView"
|
|
|
|
xmlns="https://github.com/avaloniaui"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
2024-09-10 13:46:03 +08:00
|
|
|
xmlns:showcases="clr-namespace:AtomUI.Demo.Desktop.ShowCase"
|
|
|
|
xmlns:desktop="clr-namespace:AtomUI.Demo.Desktop"
|
2024-09-09 23:54:25 +08:00
|
|
|
d:DesignHeight="450"
|
|
|
|
d:DesignWidth="800"
|
|
|
|
mc:Ignorable="d">
|
2024-06-19 18:46:29 +08:00
|
|
|
<UserControl.Resources>
|
|
|
|
<ResourceDictionary>
|
|
|
|
<ResourceDictionary.MergedDictionaries>
|
|
|
|
<ResourceInclude Source="../Themes/TabMenu.axaml" />
|
|
|
|
<ResourceInclude Source="../Themes/ToggleButton.axaml" />
|
|
|
|
</ResourceDictionary.MergedDictionaries>
|
|
|
|
</ResourceDictionary>
|
|
|
|
|
|
|
|
</UserControl.Resources>
|
|
|
|
<UserControl.Styles>
|
2024-09-10 13:46:03 +08:00
|
|
|
<Style Selector="desktop|ShowCasePanel">
|
2024-06-19 18:46:29 +08:00
|
|
|
<Setter Property="Margin" Value="0, 30, 0, 0" />
|
|
|
|
</Style>
|
2024-09-10 13:46:03 +08:00
|
|
|
<Style Selector="desktop|ShowCaseItem">
|
2024-08-24 23:43:36 +08:00
|
|
|
<Setter Property="Margin" Value="0, 0, 0, 0" />
|
2024-06-19 18:46:29 +08:00
|
|
|
</Style>
|
|
|
|
</UserControl.Styles>
|
|
|
|
<Grid RowDefinitions="Auto, *">
|
2024-09-10 13:46:03 +08:00
|
|
|
<TabControl Name="ShowCaseNav"
|
2024-09-09 23:54:25 +08:00
|
|
|
Grid.Row="1"
|
|
|
|
Margin="8"
|
|
|
|
Padding="20,0,0,0"
|
|
|
|
HorizontalAlignment="Stretch"
|
|
|
|
FontSize="13"
|
|
|
|
TabStripPlacement="Left"
|
|
|
|
Theme="{DynamicResource NavigationTab}">
|
2024-06-19 18:46:29 +08:00
|
|
|
<TabControl.Styles>
|
2024-09-10 13:46:03 +08:00
|
|
|
<Style Selector="#ShowCaseNav > TabItem">
|
2024-06-19 18:46:29 +08:00
|
|
|
<Setter Property="FontSize" Value="18" />
|
|
|
|
<Setter Property="Width" Value="230" />
|
|
|
|
</Style>
|
|
|
|
</TabControl.Styles>
|
2024-09-10 13:46:03 +08:00
|
|
|
<TabItem Header="Overview" FontSize="18">
|
2024-06-19 18:46:29 +08:00
|
|
|
<showcases:Overview />
|
|
|
|
</TabItem>
|
|
|
|
<TabItem Header="Palette">
|
|
|
|
<showcases:PaletteShowCase />
|
|
|
|
</TabItem>
|
|
|
|
<TabItem Header="PathIcon">
|
|
|
|
<showcases:IconShowCase />
|
|
|
|
</TabItem>
|
|
|
|
<TabItem Header="Button">
|
|
|
|
<showcases:ButtonShowCase />
|
|
|
|
</TabItem>
|
2024-08-23 21:03:43 +08:00
|
|
|
<TabItem Header="DropdownButton">
|
|
|
|
<showcases:DropdownButtonShowCase />
|
|
|
|
</TabItem>
|
2024-08-26 14:14:25 +08:00
|
|
|
<TabItem Header="SplitButton">
|
|
|
|
<showcases:SplitButtonShowCase />
|
|
|
|
</TabItem>
|
2024-06-19 18:46:29 +08:00
|
|
|
<TabItem Header="RadioButton">
|
|
|
|
<showcases:RadioButtonShowCase />
|
|
|
|
</TabItem>
|
|
|
|
<TabItem Header="CheckBox">
|
|
|
|
<showcases:CheckBoxShowCase />
|
|
|
|
</TabItem>
|
|
|
|
<TabItem Header="ToggleSwitch">
|
|
|
|
<showcases:SwitchShowCase />
|
|
|
|
</TabItem>
|
|
|
|
<TabItem Header="Tag">
|
|
|
|
<showcases:TagShowCase />
|
|
|
|
</TabItem>
|
|
|
|
<TabItem Header="Alert">
|
|
|
|
<showcases:AlertShowCase />
|
|
|
|
</TabItem>
|
|
|
|
<TabItem Header="Tooltip">
|
|
|
|
<showcases:TooltipShowCase />
|
|
|
|
</TabItem>
|
|
|
|
<TabItem Header="Separator">
|
|
|
|
<showcases:SeparatorShowCase />
|
|
|
|
</TabItem>
|
2024-06-27 09:32:21 +08:00
|
|
|
<TabItem Header="InfoFlyout">
|
|
|
|
<showcases:InfoFlyoutShowCase />
|
2024-06-19 18:46:29 +08:00
|
|
|
</TabItem>
|
2024-08-27 12:55:35 +08:00
|
|
|
<TabItem Header="PopupConfirm">
|
|
|
|
<showcases:PopupConfirmShowCase />
|
|
|
|
</TabItem>
|
2024-06-19 18:46:29 +08:00
|
|
|
<TabItem Header="ProgressBar">
|
|
|
|
<showcases:ProgressBarShowCase />
|
|
|
|
</TabItem>
|
2024-07-13 14:07:15 +08:00
|
|
|
<TabItem Header="LoadingIndicator">
|
|
|
|
<showcases:LoadingIndicatorShowCase />
|
2024-06-19 18:46:29 +08:00
|
|
|
</TabItem>
|
|
|
|
<TabItem Header="Segmented">
|
|
|
|
<showcases:SegmentedShowCase />
|
|
|
|
</TabItem>
|
|
|
|
<TabItem Header="Menu">
|
|
|
|
<showcases:MenuShowCase />
|
|
|
|
</TabItem>
|
|
|
|
<TabItem Header="Expander">
|
|
|
|
<showcases:ExpanderShowCase />
|
|
|
|
</TabItem>
|
2024-08-08 20:54:39 +08:00
|
|
|
<TabItem Header="Collapse">
|
|
|
|
<showcases:CollapseShowCase />
|
|
|
|
</TabItem>
|
2024-06-19 18:46:29 +08:00
|
|
|
<TabItem Header="ComboBox">
|
|
|
|
<showcases:ComboBoxShowCase />
|
|
|
|
</TabItem>
|
|
|
|
<TabItem Header="ListBox">
|
|
|
|
<showcases:ListBoxShowCase />
|
|
|
|
</TabItem>
|
|
|
|
<TabItem Header="Slider">
|
|
|
|
<showcases:SliderShowCase />
|
|
|
|
</TabItem>
|
|
|
|
<TabItem Header="TreeView">
|
|
|
|
<showcases:TreeViewShowCase />
|
|
|
|
</TabItem>
|
|
|
|
<TabItem Header="LineEdit">
|
|
|
|
<showcases:LineEditShowCase />
|
|
|
|
</TabItem>
|
2024-08-19 12:15:57 +08:00
|
|
|
<TabItem Header="NumberUpDown">
|
|
|
|
<showcases:NumberUpDownShowCase />
|
2024-06-19 18:46:29 +08:00
|
|
|
</TabItem>
|
2024-08-17 20:54:57 +08:00
|
|
|
<TabItem Header="ButtonSpinner">
|
|
|
|
<showcases:ButtonSpinnerShowCase />
|
|
|
|
</TabItem>
|
2024-06-19 18:46:29 +08:00
|
|
|
<TabItem Header="TitleBar">
|
|
|
|
<showcases:TitleBarShowCase />
|
|
|
|
</TabItem>
|
|
|
|
<TabItem Header="Pagination">
|
|
|
|
<showcases:PaginationShowCase />
|
|
|
|
</TabItem>
|
|
|
|
<TabItem Header="Avatar">
|
|
|
|
<showcases:AvatarShowCase />
|
|
|
|
</TabItem>
|
|
|
|
<TabItem Header="Badge">
|
|
|
|
<showcases:BadgeShowCase />
|
|
|
|
</TabItem>
|
|
|
|
<TabItem Header="Card">
|
|
|
|
<showcases:CardShowCase />
|
|
|
|
</TabItem>
|
2024-08-28 12:29:40 +08:00
|
|
|
<TabItem Header="GroupBox">
|
|
|
|
<showcases:GroupBoxShowCase />
|
|
|
|
</TabItem>
|
2024-06-19 18:46:29 +08:00
|
|
|
<TabItem Header="Empty">
|
|
|
|
<showcases:EmptyShowCase />
|
|
|
|
</TabItem>
|
|
|
|
<TabItem Header="Timeline">
|
|
|
|
<showcases:TimelineShowCase />
|
|
|
|
</TabItem>
|
|
|
|
<TabItem Header="TabControl">
|
|
|
|
<showcases:TabControlShowCase />
|
|
|
|
</TabItem>
|
2024-08-29 12:38:50 +08:00
|
|
|
<TabItem Header="Notification">
|
|
|
|
<showcases:NotificationShowCase />
|
|
|
|
</TabItem>
|
|
|
|
<TabItem Header="Message">
|
|
|
|
<showcases:MessageShowCase />
|
|
|
|
</TabItem>
|
2024-09-03 12:00:24 +08:00
|
|
|
<TabItem Header="TimePicker">
|
|
|
|
<showcases:TimePickerShowCase />
|
|
|
|
</TabItem>
|
|
|
|
<TabItem Header="DatePicker">
|
|
|
|
<showcases:DatePickerShowCase />
|
|
|
|
</TabItem>
|
2024-09-05 23:05:01 +08:00
|
|
|
<TabItem Header="Watermark">
|
|
|
|
<showcases:WatermarkShowCase />
|
|
|
|
</TabItem>
|
2024-09-07 16:50:09 +08:00
|
|
|
<TabItem Header="Drawer">
|
|
|
|
<showcases:DrawerShowCase />
|
|
|
|
</TabItem>
|
2024-09-10 16:40:18 +08:00
|
|
|
<TabItem Header="Calendar">
|
|
|
|
<showcases:CalendarShowCase />
|
|
|
|
</TabItem>
|
2024-06-19 18:46:29 +08:00
|
|
|
</TabControl>
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
</UserControl>
|