Dela via


DocumentProperty.Descriptor Property

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

When overridden in a derived class, gets the property descriptor associated with this property.

Namespace:  Microsoft.Windows.Design.Documents.Trees
Assembly:  Microsoft.Windows.Design.Markup (in Microsoft.Windows.Design.Markup.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property Descriptor As PropertyDescriptor
'Usage
Dim instance As DocumentProperty 
Dim value As PropertyDescriptor 

value = instance.Descriptor
public abstract PropertyDescriptor Descriptor { get; }
public:
virtual property PropertyDescriptor^ Descriptor {
    PropertyDescriptor^ get () abstract;
}
public abstract function get Descriptor () : PropertyDescriptor

Property Value

Type: System.ComponentModel.PropertyDescriptor

Remarks

This property returns nulla null reference (Nothing in Visual Basic) if the document property is not associated with a common language runtime property. For example, Descriptor returns nulla null reference (Nothing in Visual Basic) for pseudo-properties, such as x:Name or x:Key.

.NET Framework Security

See Also

Reference

DocumentProperty Class

DocumentProperty Members

Microsoft.Windows.Design.Documents.Trees Namespace

Other Resources

WPF Designer Extensibility