Control.DefaultStyleKey property

Expand Minimize
0 out of 3 rated this helpful - Rate this topic

Gets or sets the key that references the default style for the control.

Syntax


protected object DefaultStyleKey { get; set; }

Property value

Type: System.Object [.NET] | Platform::Object [C++]

The key that references the default style for the control. To work correctly as part of theme style lookup, this value is expected to be the System.Type (TypeName in C++) of the control being styled.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

Control

 

 

Build date: 3/12/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.