Version

GetCustomDisplayName Method (LocalizedCustomTypeDescriptorAdapter)

Allows localization of the property name by supplying a custom DisplayName for the property.
Syntax
'Declaration
 
Protected Overrides Function GetCustomDisplayName( _
   ByVal propertyDescriptor As PropertyDescriptor, _
   ByVal attributes() As Attribute _
) As String
protected override string GetCustomDisplayName( 
   PropertyDescriptor propertyDescriptor,
   Attribute[] attributes
)

Parameters

propertyDescriptor
PropertyDecriptor to be evaluated
attributes
Array of attributes passed into the GetProperties method or null if none were specified.

Return Value

A custom display string to use for displaying this property in the property grid, or null to display the actual property name.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also