Allows localization of the property name by supplying a custom DisplayName for the property.
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.
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