net90_PropertyGridHelpers.Attributes_ResourcePathAttribute - dparvin/PropertyGridHelpers GitHub Wiki
Specifies a resource path for use with the ImageTextUIEditor
class.
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Property)]
public class ResourcePathAttribute : Attribute
parameter | description |
---|---|
resourcePath | The path to the resource. |
resourceAssembly | The resource assembly. |
name | description |
---|---|
ResourcePathAttribute(…) | Specifies a resource path for use with the ImageTextUIEditor class. |
static Get(…) | Gets the ResourcePathAttribute for the specified Enum value. |
ResourceAssembly { get; } | Gets the resource assembly. |
ResourcePath { get; } | Gets the resource path associated with the property or enum value. |
GetAssembly() | Resolves the assembly object from the stored assembly name. |
This attribute is applied to properties or enum values to specify the resource path that the ImageTextUIEditor
should use when displaying images.
- namespace PropertyGridHelpers.Attributes
- assembly PropertyGridHelpers
- ResourcePathAttribute.cs