ElementPropertyDescriptor.DisplayName Property

Gets the display name of the described property, as specified in the DisplayNameResourceAttribute.

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property DisplayName As String
public override string DisplayName { get; }
public:
virtual property String^ DisplayName {
    String^ get () override;
}
abstract DisplayName : string with get 
override DisplayName : string with get
override function get DisplayName () : String

Property Value

Type: String
The display name of the described property. If the property does not have a DisplayNameResourceAttribute or DisplayNameAttribute attribute, then the display name of the DomainPropertyInfo that is used to create this descriptor is returned.

Remarks

If the owner parameter was specified in the constructor for this property descriptor, then the GetPropertyDescriptorDisplayName method of the owner provides the description, where this descriptor is passed in the propertyDescriptor parameter.

.NET Framework Security

See Also

Reference

ElementPropertyDescriptor Class

Microsoft.VisualStudio.Modeling.Design Namespace

ElementTypeDescriptor

DisplayNameResourceAttribute

DomainPropertyInfo