SystemColors::ControlDarkColorKey Property

 

Gets the ResourceKey for the shadow Color of a three-dimensional display element.

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
property ResourceKey^ ControlDarkColorKey {
	static ResourceKey^ get();
}

Property Value

Type: System.Windows::ResourceKey^

The resource key for the shadow Color of a three-dimensional display element.

Use the ControlDarkColorKey to create a dynamic reference to the control dark system color. This dynamic reference will automatically update if the color is changed. To create a static reference that does not update automatically, use ControlDarkColor.

<object property="{DynamicResource {x:Static SystemColors.ControlDarkColorKey}}"/>

.NET Framework
Available since 3.0
Return to top
Show: