123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <Styles xmlns="https://github.com/avaloniaui"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
- <Design.PreviewWith>
- <Border Padding="20">
- <!-- Add Controls for Previewer Here -->
- </Border>
- </Design.PreviewWith>
- <Style Selector="Button">
- <Setter Property="Background" Value="#007ACC"/>
- <Setter Property="Foreground" Value="White"/>
- <Setter Property="BorderBrush" Value="#005B99"/>
- <Setter Property="BorderThickness" Value="1"/>
- <Setter Property="CornerRadius" Value="5"/>
- <Setter Property="Padding" Value="10,5"/>
- <Setter Property="FontSize" Value="16"/>
- <Setter Property="FontWeight" Value="Bold"/>
- <Setter Property="Margin" Value="5"/>
- <Setter Property="HorizontalAlignment" Value="Center"/>
- <Setter Property="VerticalAlignment" Value="Center"/>
- </Style>
- <Style Selector="TextBlock">
- <Setter Property="FontSize" Value="16"/>
- <Setter Property="Foreground" Value="#333"/>
- <Setter Property="Margin" Value="5"/>
- </Style>
- <Style Selector="DatePicker">
- <Setter Property="BorderBrush" Value="#007ACC"/>
- <Setter Property="BorderThickness" Value="1"/>
- <Setter Property="CornerRadius" Value="5"/>
- <Setter Property="Padding" Value="5"/>
- <Setter Property="FontSize" Value="16"/>
- </Style>
- <Style Selector="RadioButton">
- <Setter Property="Foreground" Value="#333"/>
- <Setter Property="FontSize" Value="16"/>
- <Setter Property="Margin" Value="5"/>
- </Style>
- <Style Selector="Image">
- <Setter Property="Width" Value="200"/>
- <Setter Property="Height" Value="200"/>
- <Setter Property="Margin" Value="10"/>
- <Setter Property="HorizontalAlignment" Value="Center"/>
- <Setter Property="VerticalAlignment" Value="Center"/>
- </Style>
- <Style Selector="StackPanel">
- <Setter Property="Margin" Value="10"/>
- <Setter Property="HorizontalAlignment" Value="Center"/>
- <Setter Property="VerticalAlignment" Value="Center"/>
- </Style>
- </Styles>
|