net472_PropertyGridHelpers.Attributes_LocalizedEnumTextAttribute_Get - dparvin/PropertyGridHelpers GitHub Wiki
Retrieves the LocalizedEnumTextAttribute
applied to the given value, if present.
public static LocalizedEnumTextAttribute Get(Enum value)
parameter | description |
---|---|
value | The enum value to look up. |
The associated LocalizedEnumTextAttribute
, or null
if no attribute is applied.
- class LocalizedEnumTextAttribute
- namespace PropertyGridHelpers.Attributes
- assembly PropertyGridHelpers
Retrieves the LocalizedEnumTextAttribute
from the given ITypeDescriptorContext, if present.
public static LocalizedEnumTextAttribute Get(ITypeDescriptorContext context)
parameter | description |
---|---|
context | The type descriptor context. |
The LocalizedEnumTextAttribute
, or null
if not found.
- class LocalizedEnumTextAttribute
- namespace PropertyGridHelpers.Attributes
- assembly PropertyGridHelpers