Merge branch 'master' of http://scddns.f3322.net:13000/sc/Audit_APP
This commit is contained in:
commit
1d04a3f2aa
1 file changed
+40
@@ -9,7 +9,47 @@
|
||||
x:Class="Audit.MainWindow"
|
||||
mc:Ignorable="d"
|
||||
Title="绍兴尚彩自动化科技有限公司" Height="800" Width="1280" WindowStartupLocation="CenterScreen">
|
||||
<mah:MetroWindow.Resources>
|
||||
<Style x:Key="RadioButtonStyle" TargetType="{x:Type RadioButton}">
|
||||
<Setter Property="Background" Value="{DynamicResource MahApps.Brushes.ThemeBackground}"/>
|
||||
<Setter Property="BorderBrush" Value="{DynamicResource MahApps.Brushes.CheckBox}"/>
|
||||
<Setter Property="FocusVisualStyle" Value="{DynamicResource {x:Static SystemParameters.FocusVisualStyleKey}}"/>
|
||||
<Setter Property="FontFamily" Value="{DynamicResource MahApps.Fonts.Family.Control}"/>
|
||||
<Setter Property="FontSize" Value="{DynamicResource MahApps.Font.Size.Content}"/>
|
||||
<Setter Property="Foreground" Value="{DynamicResource MahApps.Brushes.Text}"/>
|
||||
<Setter Property="HorizontalContentAlignment" Value="Left"/>
|
||||
<Setter Property="OverridesDefaultStyle" Value="True"/>
|
||||
<Setter Property="Padding" Value="6 0 0 0"/>
|
||||
<Setter Property="SnapsToDevicePixels" Value="True"/>
|
||||
<Setter Property="Stylus.IsPressAndHoldEnabled" Value="False"/>
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="{x:Type RadioButton}">
|
||||
<Grid>
|
||||
<Border>
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition>
|
||||
|
||||
</ColumnDefinition>
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="0" Text="{TemplateBinding Tag}" FontFamily="Fonts/#FontAwesome" Background="#FF66CCFF"/>
|
||||
<TextBlock Grid.Column="1" Text="{TemplateBinding Content}"/>
|
||||
</Grid>
|
||||
</Border>
|
||||
</Grid>
|
||||
<ControlTemplate.Triggers>
|
||||
<Trigger Property="IsMouseOver" Value="True">
|
||||
|
||||
</Trigger>
|
||||
</ControlTemplate.Triggers>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
</mah:MetroWindow.Resources>
|
||||
<Grid>
|
||||
<RadioButton Content="RadioButton" Tag="" HorizontalAlignment="Left" Height="785" Margin="000,000,0,0" VerticalAlignment="Top" Width="100" Background="#FF66CCFF" Style="{DynamicResource RadioButtonStyle}"/>
|
||||
|
||||
</Grid>
|
||||
</mah:MetroWindow>
|
||||
Reference in new issue
Block a user