net90_PropertyGridHelpers.Attributes_FileExtensionAttribute_FileExtensionAttribute - dparvin/PropertyGridHelpers GitHub Wiki
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. |
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.
- class FileExtensionAttribute
- namespace PropertyGridHelpers.Attributes
- assembly PropertyGridHelpers