Generic.xaml 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. <ResourceDictionary
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. >
  5. <ResourceDictionary.MergedDictionaries>
  6. <ResourceDictionary Source="/SequenceControl;component/DataGridTransform/DataGrid/Themes/Generic.xaml" />
  7. </ResourceDictionary.MergedDictionaries>
  8. <LinearGradientBrush x:Key="GrayBlueGradientBrush"
  9. StartPoint="0,0" EndPoint="1,1">
  10. <GradientStop Color="DarkGray" Offset="0" />
  11. <GradientStop Color="#CCCCFF" Offset="0.5" />
  12. <GradientStop Color="DarkGray" Offset="1" />
  13. </LinearGradientBrush>
  14. <Style x:Key="PoppingExpanderSholdDelete" TargetType="{x:Type Button}">
  15. <Setter Property="Background" Value="{StaticResource GrayBlueGradientBrush}" />
  16. <Setter Property="Width" Value="80" />
  17. <Setter Property="Margin" Value="10" />
  18. </Style>
  19. <Style x:Key="myButton" TargetType="{x:Type Button}">
  20. <Setter Property="Background" Value="Red" />
  21. </Style>
  22. </ResourceDictionary>