Partager via


ElementViewModel.DeclaringProperty Property

Gets the property on the containing configuration element, this ElementViewModel was created for.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel
Assembly:  Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime (in Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime.dll)

Syntax

'Declaration
Public ReadOnly Property DeclaringProperty As PropertyDescriptor
public PropertyDescriptor DeclaringProperty { get; }
public:
property PropertyDescriptor^ DeclaringProperty {
    PropertyDescriptor^ get ();
}
public function get DeclaringProperty () : PropertyDescriptor

See Also

ElementViewModel Class

Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel Namespace