net472_PropertyGridHelpers.Attributes_EnumTextAttribute_Get - dparvin/PropertyGridHelpers GitHub Wiki
Retrieves the EnumTextAttribute
applied to the specified enum value.
public static EnumTextAttribute Get(Enum value)
parameter | description |
---|---|
value | The enum value to retrieve the attribute from. |
The EnumTextAttribute
instance, or null
if not found.
- class EnumTextAttribute
- namespace PropertyGridHelpers.Attributes
- assembly PropertyGridHelpers
Retrieves the EnumTextAttribute
using the supplied type descriptor context.
public static EnumTextAttribute Get(ITypeDescriptorContext context)
parameter | description |
---|---|
context | The context providing information about the component and its property. |
The EnumTextAttribute
if found, or null
if not available.
- class EnumTextAttribute
- namespace PropertyGridHelpers.Attributes
- assembly PropertyGridHelpers