net90_PropertyGridHelpers.Attributes_ResourcePathAttribute - dparvin/PropertyGridHelpers GitHub Wiki

ResourcePathAttribute class

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.

Public Members

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.

Remarks

This attribute is applied to properties or enum values to specify the resource path that the ImageTextUIEditor should use when displaying images.

See Also

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