Style Style Style Style Constructors
Definition
Overloads
Style() Style() Style() Style() |
Initializes a new instance of the Style class, with no initial TargetType and an empty Setters collection. |
Style(TypeName) Style(TypeName) Style(TypeName) Style(TypeName) |
Initializes a new instance of the Style class, with a specified initial TargetType and an empty Setters collection. |
Style() Style() Style() Style()
Initializes a new instance of the Style class, with no initial TargetType and an empty Setters collection.
public : Style()
Style() const;
public Style()
Public Sub New()
- See also
Style(TypeName) Style(TypeName) Style(TypeName) 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 targetType) const;
public Style(Type targetType)
Public Sub New(targetType As Type)
Parameters
- targetType
- Type 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.
Feedback
Loading feedback...