| 1234567891011121314151617181920212223242526272829303132 |
- <Application xmlns="https://github.com/avaloniaui"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- x:Class="ControlCatalog.App">
- <Application.Styles>
- <StyleInclude Source="avares://Avalonia.Themes.Default/DefaultTheme.xaml"/>
- <StyleInclude Source="avares://Avalonia.Themes.Default/Accents/BaseLight.xaml"/>
- <StyleInclude Source="avares://Avalonia.Controls.DataGrid/Themes/Default.xaml"/>
- <Style Selector="TextBlock.h1">
- <Setter Property="FontSize" Value="{DynamicResource FontSizeLarge}"/>
- <Setter Property="FontWeight" Value="Medium"/>
- </Style>
- <Style Selector="TextBlock.h2">
- <Setter Property="FontSize" Value="{DynamicResource FontSizeNormal}"/>
- </Style>
- <Style Selector="TextBlock.h3">
- <Setter Property="FontSize" Value="{DynamicResource FontSizeSmall}"/>
- </Style>
- <StyleInclude Source="/SideBar.xaml"/>
- </Application.Styles>
- <NativeMenu.Menu>
- <NativeMenu>
- <NativeMenuItem Header="Open" Clicked="OnOpenClicked"/>
- <NativeMenuItem Header="Recent">
- <NativeMenuItem.Menu>
- <NativeMenu/>
- </NativeMenuItem.Menu>
- </NativeMenuItem>
- <NativeMenuItem Header="Quit Avalonia" Gesture="CMD+Q"/>
- </NativeMenu>
- </NativeMenu.Menu>
- </Application>
|