Skip to main content
.NET Framework Class Library
Style Constructor

Initializes a new instance of the Style class.

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)
Syntax
Public Sub New
public Style()
public:
Style()
new : unit -> Style
public function [%$TOPIC/ms587955_en-us_VS_110_2_0_4_0_0%]()
Remarks

This constructor call requires delayed validation of TargetType and BasedOn style type. If this is used outside the context of the parser, behavior is undefined.

Version Information

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1