Bewerken

Share via


NameScopePropertyAttribute Constructors

Definition

Initializes a new instance of the NameScopePropertyAttribute class.

Overloads

NameScopePropertyAttribute(String)

Initializes a new instance of the NameScopePropertyAttribute class with the specified name.

NameScopePropertyAttribute(String, Type)

Initializes a new instance of the NameScopePropertyAttribute class with the specified name and type.

NameScopePropertyAttribute(String)

Initializes a new instance of the NameScopePropertyAttribute class with the specified name.

public:
 NameScopePropertyAttribute(System::String ^ name);
public NameScopePropertyAttribute (string name);
new System.Windows.Markup.NameScopePropertyAttribute : string -> System.Windows.Markup.NameScopePropertyAttribute
Public Sub New (name As String)

Parameters

name
String

The name of the property on the attributed type that provides the XAML namescope.

Applies to

NameScopePropertyAttribute(String, Type)

Initializes a new instance of the NameScopePropertyAttribute class with the specified name and type.

public:
 NameScopePropertyAttribute(System::String ^ name, Type ^ type);
public NameScopePropertyAttribute (string name, Type type);
new System.Windows.Markup.NameScopePropertyAttribute : string * Type -> System.Windows.Markup.NameScopePropertyAttribute
Public Sub New (name As String, type As Type)

Parameters

name
String

The name of the attachable member that provides the XAML name scope.

type
Type

The owner type of the attachable member that provides the XAML name scope.

Applies to