Share via


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 (in Microsoft.VisualStudio.Modeling.Sdk.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property DisplayName As String
'Usage
Dim instance As ElementPropertyDescriptor 
Dim value As String 

value = instance.DisplayName
public override string DisplayName { get; }
public:
virtual property String^ DisplayName {
    String^ get () override;
}
public override function get DisplayName () : String

Property Value

Type: System.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

ElementPropertyDescriptor Members

Microsoft.VisualStudio.Modeling.Design Namespace

ElementTypeDescriptor

DisplayNameResourceAttribute

DomainPropertyInfo

Change History

Date

History

Reason

July 2008

Added topic.

Content bug fix.