ControlDarkDark to ControlLightLight
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="SDKSample.SampleViewer"
Title="Examples" >
<Canvas>
<Rectangle>
<Rectangle.Fill>
<LinearGradientBrush>
<LinearGradientBrush.GradientStops>
<GradientStop Offset="0" Color="{x:Static SystemColors.ControlDarkDarkColor}"/>
<GradientStop Offset="1" Color="{x:Static SystemColors.ControlLightLightColor}"/>
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
</Rectangle.Fill>
</Rectangle>
</Canvas>
</Window>
Related examples in the same category