Skip to content

net90_PropertyGridHelpers.Attributes_EnumTextAttribute_Get

dparvin edited this page Jan 11, 2026 · 13 revisions

EnumTextAttribute.Get method (1 of 3)

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 3)

Gets the specified FieldInfo.

public static EnumTextAttribute Get(FieldInfo fi)
parameter description
fi The FieldInfo.

See Also


EnumTextAttribute.Get method (3 of 3)

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

Clone this wiki locally