-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainView.axaml
34 lines (31 loc) · 1.19 KB
/
MainView.axaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<UserControl x:Class="GroupBox.Avalonia.Sample.Views.MainView"
xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ctrl="using:GroupBox.Avalonia.Controls"
xmlns:themes="using:GroupBox.Avalonia.Themes">
<ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
<Grid Margin="4"
ColumnDefinitions="* *" RowDefinitions="* *">
<Grid.Styles>
<Style Selector="Grid > ctrl|GroupBox">
<Setter Property="Margin" Value="4" />
</Style>
</Grid.Styles>
<ctrl:GroupBox Header="Classic"
Theme="{StaticResource GroupBoxClassic}"
Grid.Row="0" Grid.Column="0">
<StackPanel>
<CheckBox>CheckBox0</CheckBox>
<CheckBox>CheckBox1</CheckBox>
</StackPanel>
</ctrl:GroupBox>
<ctrl:GroupBox Header="Basic (default)"
Grid.Row="0" Grid.Column="1">
<StackPanel>
<CheckBox>CheckBox0</CheckBox>
<CheckBox>CheckBox1</CheckBox>
</StackPanel>
</ctrl:GroupBox>
</Grid>
</ScrollViewer>
</UserControl>