Jaa


Style Constructors

Definition

Overloads

Style()

Initializes a new instance of the Style class, with no initial TargetType and an empty Setters collection.

Style(TypeName)

Initializes a new instance of the Style class, with a specified initial TargetType and an empty Setters collection.

Style()

Initializes a new instance of the Style class, with no initial TargetType and an empty Setters collection.

public:
 Style();
 Style();
public Style();
function Style()
Public Sub New ()

See also

Applies to

Style(TypeName)

Initializes a new instance of the Style class, with a specified initial TargetType and an empty Setters collection.

public:
 Style(TypeName targetType);
 Style(TypeName const& targetType);
public Style(System.Type targetType);
function Style(targetType)
Public Sub New (targetType As Type)

Parameters

targetType
TypeName Type

The TargetType to set for the Style.

Remarks

Important

If you are programming using a .NET language (C# or Visual Basic), the TypeName type projects as System.Type. This is not correctly indicated in the C# and Visual Basic syntaxes above; the targetType parameter should take a System.Type. When programming using C#, it is common to use the typeof operator to get references to the System.Type of a type. In Visual Basic, use GetType.

Applies to