[Root] / Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.Core.Attributes Namespace / ExtendedDisplayNameAttribute Class


In This Topic
    ExtendedDisplayNameAttribute Class
    In This Topic

    Represents an attribute that is set on a property to enable specifying a DisplayName for fields and Enum type values.

    Syntax
    'Declaration
     
    
    <AttributeUsageAttribute(AttributeTargets.Class Or  _
        AttributeTargets.Event Or  _
        AttributeTargets.Field Or  _
        AttributeTargets.Method Or  _
        AttributeTargets.Property)>
    Public Class ExtendedDisplayNameAttribute 
       Inherits System.ComponentModel.DisplayNameAttribute
    'Usage
     
    
    Dim instance As ExtendedDisplayNameAttribute
    [AttributeUsage(AttributeTargets.Class | 
        AttributeTargets.Event | 
        AttributeTargets.Field | 
        AttributeTargets.Method | 
        AttributeTargets.Property)]
    public class ExtendedDisplayNameAttribute : System.ComponentModel.DisplayNameAttribute 
    Remarks
    This is used by EnumDisplayNameConverter in order to display enum field values as custom strings.
    Inheritance Hierarchy

    System.Object
       System.Attribute
          System.ComponentModel.DisplayNameAttribute
             Xceed.Wpf.Toolkit.Core.Attributes.ExtendedDisplayNameAttribute
                Xceed.Wpf.Toolkit.Core.Attributes.LocalizedDisplayNameAttribute

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the ExtendedDisplayNameAttribute class.  
    Top
    Public Properties
     NameDescription
    Public Property (Inherited from System.ComponentModel.DisplayNameAttribute)
    Public Property (Inherited from System.Attribute)
    Top
    Protected Properties
    Public Methods
    Supported Frameworks

    .NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.

    .NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also