Style Constructor (Type)
Collapse the table of content
Expand the table of content

Style Constructor (Type)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a new instance of the Style class to use on the specified Type.

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

public Style(
	Type targetType
)

Parameters

targetType
Type: System.Type
The type to which the style will apply.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2018 Microsoft