net472_PropertyGridHelpers.Attributes_EnumTextAttribute_Get - dparvin/PropertyGridHelpers GitHub Wiki

EnumTextAttribute.Get method (1 of 2)

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.

Return Value

The EnumTextAttribute instance, or null if not found.

See Also


EnumTextAttribute.Get method (2 of 2)

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.

Return Value

The EnumTextAttribute if found, or null if not available.

See Also

⚠️ **GitHub.com Fallback** ⚠️