1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <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="StackPanel.calcOptionSP">
- <Setter Property="Orientation" Value="Vertical"/>
- <Setter Property="HorizontalAlignment" Value="Center"/>
- <Setter Property="Margin" Value="15"/>
- </Style>
- <Style Selector="StackPanel.cellsForCalcSP">
- <Setter Property="Orientation" Value="Horizontal"/>
- <Setter Property="HorizontalAlignment" Value="Center"/>
- <Setter Property="VerticalAlignment" Value="Center"/>
- <Setter Property="Margin" Value="15"/>
- </Style>
-
- <Style Selector="TextBox.cellsForCalcTB">
- <Setter Property="Width" Value="30"/>
- <Setter Property="Height" Value="40"/>
- <Setter Property="Margin" Value="5 0 5 0"/>
- <Setter Property="BorderBrush" Value="#32CD32"/>
- <Setter Property="Background" Value="#F5F5F5"/>
- </Style>
- <Style Selector="ComboBox.calcCB">
- <Setter Property="BorderBrush" Value="#32CD32"/>
- <Setter Property="Background" Value="#F5F5F5"/>
- </Style>
- <Style Selector="TextBlock.calcSymTB">
- <Setter Property="VerticalAlignment" Value="Center"/>
- <Setter Property="HorizontalAlignment" Value="Center"/>
- </Style>
- <Style Selector="Button.calcBut">
- <Setter Property="Background" Value="#32CD32"/>
- <Setter Property="Foreground" Value="White"/>
- </Style>
- </Styles>
|