misc: update docs.
This commit is contained in:
parent
3d337032d4
commit
74dab932b3
BIN
docs/cover.png
BIN
docs/cover.png
Binary file not shown.
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 90 KiB |
@ -1,12 +1,17 @@
|
|||||||
<UserControl
|
<UserControl
|
||||||
x:Class="Semi.Avalonia.Demo.Pages.Overview" xmlns="https://github.com/avaloniaui"
|
x:Class="Semi.Avalonia.Demo.Pages.Overview"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns="https://github.com/avaloniaui"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" d:DesignHeight="450"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
d:DesignWidth="800" mc:Ignorable="d">
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
|
d:DesignHeight="1000"
|
||||||
|
d:DesignWidth="800"
|
||||||
|
mc:Ignorable="d">
|
||||||
<ScrollViewer HorizontalScrollBarVisibility="Auto">
|
<ScrollViewer HorizontalScrollBarVisibility="Auto">
|
||||||
<StackPanel Margin="10" Spacing="5">
|
<StackPanel Margin="10" Spacing="5">
|
||||||
<TextBlock
|
<TextBlock
|
||||||
HorizontalAlignment="Center" Classes="H4"
|
HorizontalAlignment="Center"
|
||||||
|
Classes="H4"
|
||||||
Text="Welcome to Semi Avalonia"
|
Text="Welcome to Semi Avalonia"
|
||||||
Theme="{StaticResource TitleTextBlock}" />
|
Theme="{StaticResource TitleTextBlock}" />
|
||||||
|
|
||||||
@ -25,7 +30,8 @@
|
|||||||
<Button Classes="Warning" Theme="{DynamicResource SolidButton}">Warning</Button>
|
<Button Classes="Warning" Theme="{DynamicResource SolidButton}">Warning</Button>
|
||||||
<Button Classes="Danger" Theme="{DynamicResource SolidButton}">Danger</Button>
|
<Button Classes="Danger" Theme="{DynamicResource SolidButton}">Danger</Button>
|
||||||
<Button
|
<Button
|
||||||
Classes="Primary" IsEnabled="False"
|
Classes="Primary"
|
||||||
|
IsEnabled="False"
|
||||||
Theme="{DynamicResource SolidButton}">
|
Theme="{DynamicResource SolidButton}">
|
||||||
Danger
|
Danger
|
||||||
</Button>
|
</Button>
|
||||||
@ -43,7 +49,8 @@
|
|||||||
</StackPanel>
|
</StackPanel>
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<StackPanel
|
<StackPanel
|
||||||
Margin="0,0,16,0" VerticalAlignment="Center"
|
Margin="0,0,16,0"
|
||||||
|
VerticalAlignment="Center"
|
||||||
Orientation="Horizontal">
|
Orientation="Horizontal">
|
||||||
<RadioButton Margin="0,0,8,0">Option 1</RadioButton>
|
<RadioButton Margin="0,0,8,0">Option 1</RadioButton>
|
||||||
<RadioButton>Option 2</RadioButton>
|
<RadioButton>Option 2</RadioButton>
|
||||||
@ -63,7 +70,8 @@
|
|||||||
</StackPanel>
|
</StackPanel>
|
||||||
</RadioButton>
|
</RadioButton>
|
||||||
<RadioButton
|
<RadioButton
|
||||||
Margin="4" IsChecked="True"
|
Margin="4"
|
||||||
|
IsChecked="True"
|
||||||
Theme="{StaticResource CardRadioButton}">
|
Theme="{StaticResource CardRadioButton}">
|
||||||
<StackPanel>
|
<StackPanel>
|
||||||
<TextBlock FontWeight="Bold">Option 2</TextBlock>
|
<TextBlock FontWeight="Bold">Option 2</TextBlock>
|
||||||
@ -76,6 +84,12 @@
|
|||||||
<CheckBox Margin="0,0,8,0" IsChecked="True">WPF</CheckBox>
|
<CheckBox Margin="0,0,8,0" IsChecked="True">WPF</CheckBox>
|
||||||
<CheckBox IsChecked="{x:Null}" IsThreeState="True">UWP</CheckBox>
|
<CheckBox IsChecked="{x:Null}" IsThreeState="True">UWP</CheckBox>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
<StackPanel Orientation="Horizontal">
|
||||||
|
<ToggleSwitch
|
||||||
|
Content="Content"
|
||||||
|
OffContent="No"
|
||||||
|
OnContent="Yes" />
|
||||||
|
</StackPanel>
|
||||||
<TabControl>
|
<TabControl>
|
||||||
<TabItem Header="Tab 1">
|
<TabItem Header="Tab 1">
|
||||||
<TextBlock Margin="8">Tab Content 1</TextBlock>
|
<TextBlock Margin="8">Tab Content 1</TextBlock>
|
||||||
@ -87,27 +101,58 @@
|
|||||||
<TextBlock Margin="8">Tab Content 3</TextBlock>
|
<TextBlock Margin="8">Tab Content 3</TextBlock>
|
||||||
</TabItem>
|
</TabItem>
|
||||||
</TabControl>
|
</TabControl>
|
||||||
|
<StackPanel Orientation="Horizontal" Spacing="20">
|
||||||
|
<ComboBox Width="200" PlaceholderText="Please Select" />
|
||||||
|
|
||||||
|
</StackPanel>
|
||||||
<Grid ColumnDefinitions="* * *">
|
<Grid ColumnDefinitions="* * *">
|
||||||
<Border Theme="{StaticResource CardBorder}">
|
<Border Theme="{StaticResource CardBorder}">
|
||||||
<TextBlock>Card</TextBlock>
|
<TextBlock>Card</TextBlock>
|
||||||
</Border>
|
</Border>
|
||||||
<Border
|
<Border
|
||||||
Grid.Column="1" Classes="Hover"
|
Grid.Column="1"
|
||||||
|
Classes="Hover"
|
||||||
Theme="{StaticResource CardBorder}">
|
Theme="{StaticResource CardBorder}">
|
||||||
<TextBlock>Shadow on hover</TextBlock>
|
<TextBlock>Shadow on hover</TextBlock>
|
||||||
</Border>
|
</Border>
|
||||||
<Border
|
<Border
|
||||||
Grid.Column="2" Classes="Shadow"
|
Grid.Column="2"
|
||||||
|
Classes="Shadow"
|
||||||
Theme="{StaticResource CardBorder}">
|
Theme="{StaticResource CardBorder}">
|
||||||
<TextBlock>Shadow</TextBlock>
|
<TextBlock>Shadow</TextBlock>
|
||||||
</Border>
|
</Border>
|
||||||
</Grid>
|
</Grid>
|
||||||
<StackPanel Spacing="20">
|
<StackPanel Orientation="Horizontal" Spacing="20">
|
||||||
<TextBox InnerLeftContent="http://" InnerRightContent=".com" />
|
|
||||||
<TextBox
|
<TextBox
|
||||||
Classes="revealPasswordButton" PasswordChar="*"
|
Width="200"
|
||||||
|
InnerLeftContent="http://"
|
||||||
|
InnerRightContent=".com" />
|
||||||
|
<TextBox
|
||||||
|
Width="200"
|
||||||
|
Classes="revealPasswordButton"
|
||||||
|
PasswordChar="*"
|
||||||
Text="Avalonia" />
|
Text="Avalonia" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
|
<StackPanel Orientation="Horizontal" Spacing="20">
|
||||||
|
<TreeView>
|
||||||
|
<TreeViewItem Header="Level 1" IsExpanded="True">
|
||||||
|
<TreeViewItem Header="Level 2" />
|
||||||
|
<TreeViewItem Header="Level 2" />
|
||||||
|
<TreeViewItem Header="Level 2" IsExpanded="True">
|
||||||
|
<TreeViewItem Header="Level 3" />
|
||||||
|
<TreeViewItem Header="Level 3" />
|
||||||
|
</TreeViewItem>
|
||||||
|
</TreeViewItem>
|
||||||
|
</TreeView>
|
||||||
|
<ListBox SelectedIndex="3">
|
||||||
|
<TextBlock>List Item 1</TextBlock>
|
||||||
|
<TextBlock>List Item 2</TextBlock>
|
||||||
|
<TextBlock>List Item 3</TextBlock>
|
||||||
|
<TextBlock>List Item 4</TextBlock>
|
||||||
|
<TextBlock>List Item 5</TextBlock>
|
||||||
|
</ListBox>
|
||||||
|
</StackPanel>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</ScrollViewer>
|
</ScrollViewer>
|
||||||
</UserControl>
|
</UserControl>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user