Rediger

Del via


PropertyDefinition Class

Definition

Supports a markup technique of defining properties of a class in declarative XAML.

public ref class PropertyDefinition : System::Windows::Markup::MemberDefinition
public class PropertyDefinition : System.Windows.Markup.MemberDefinition
type PropertyDefinition = class
    inherit MemberDefinition
Public Class PropertyDefinition
Inherits MemberDefinition
Inheritance
PropertyDefinition

Remarks

Support for the overall feature of defining members of a class in declarative XAML is not self-contained in this API. This API only provides the markup definitions that make the declarations possible in XAML. The actual build task handling of how such XAML is interpreted is specific to individual build tasks and the frameworks or technologies that reference them.

Constructors

PropertyDefinition()

Initializes a new instance of the PropertyDefinition class.

Properties

Attributes

Gets a list of associated CLR attributes.

Modifier

Gets or sets the access level of the defined property.

Name

Gets or sets the name of the property to define.

Type

Gets or sets the XamlType of the property to define.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to