Posted By

qrist0ph on 06/02/09


Tagged

WPF xaml


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Tyster


WPF XAML Ressources


 / Published in: XML
 

  1. <UserControl.Resources>
  2. <Style x:Key="{x:Type ComboBox}" TargetType="ComboBox">
  3. <Style TargetType="{x:Type TabControl}" />
  4.  
  5. <ResourceDictionary>
  6. <ResourceDictionary.MergedDictionaries>
  7. <ResourceDictionary Source="/PVStyles;component/PVStyles.xaml" />
  8. <ResourceDictionary Source="ExpanderResource.xaml" />
  9. </ResourceDictionary.MergedDictionaries>
  10. </ResourceDictionary>
  11. </UserControl.Resources>
  12.  
  13. <!-- ExpanderResource.xaml --!>
  14. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  15. xmlns:igDP="http://infragistics.com/DataPresenter"
  16. xmlns:igRibbon="http://infragistics.com/Ribbon"
  17. xmlns:igEditors="http://infragistics.com/Editors"
  18. xmlns:igWindows="http://infragistics.com/Windows"
  19. xmlns:igThemes="http://infragistics.com/Themes"
  20. xmlns:igDock="http://infragistics.com/DockManager"
  21. xmlns:PresentationOptions="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  22.  
  23. <LinearGradientBrush x:Key="DarkBrush" StartPoint="0,0" EndPoint="0,1">
  24. <GradientBrush.GradientStops>
  25. <GradientStopCollection>
  26. <GradientStop Color="#FF6DACC8" Offset="0.0"/>
  27. <GradientStop Color="#FF6DACC8" Offset="1.0"/>
  28. </GradientStopCollection>
  29. </GradientBrush.GradientStops>
  30. </LinearGradientBrush>
  31.  
  32. <Style TargetType="Expander" />
  33. </ResourceDictionary>

Report this snippet  

You need to login to post a comment.