-
Notifications
You must be signed in to change notification settings - Fork 1
net90_PropertyGridHelpers.Attributes_EnumTextAttribute_Get
dparvin edited this page Jan 11, 2026
·
13 revisions
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
Gets the specified FieldInfo.
public static EnumTextAttribute Get(FieldInfo fi)| parameter | description |
|---|---|
| fi | The FieldInfo. |
- 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