net90_PropertyGridHelpers.Attributes_FileExtensionAttribute_FileExtensionAttribute - dparvin/PropertyGridHelpers GitHub Wiki

FileExtensionAttribute constructor

Specifies a property containing the file extension to use when resolving resource names for an ImageTextUIEditor.

public FileExtensionAttribute(string propertyName)
parameter description
propertyName The name of the property on the same object that provides the file extension value.

Remarks

This attribute is intended for scenarios where an image resource is dynamically constructed from an enum value plus a file extension. It works together with ResourcePathAttribute, DynamicPathSourceAttribute, and EnumImageAttribute to build a complete resource path for images or icons.

See Also

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