Class DefaultEntityIconAttribute
Specifies the default icon for the system to use whenever displaying this entity in menus, or other ui appropriate contexts
This can be the id of a system image (ImageType) or a custom image ( ImageID)
Inherited Members
Namespace: LemonEdge.API.Attributes
Assembly: LemonEdge.API.dll
Syntax
[AttributeUsage(AttributeTargets.Interface)]
public sealed class DefaultEntityIconAttribute : Attribute
Constructors
DefaultEntityIconAttribute(ImageType)
Indicates the default icon to use associated with this entity is the specified system
defaultIconID
Declaration
public DefaultEntityIconAttribute(ImageType defaultIconID)
Parameters
Type | Name | Description |
---|---|---|
ImageType | defaultIconID | The system icon to use for this entity |
DefaultEntityIconAttribute(string)
Indicates the default icon to use associated with this entity is the specified system
defaultIconID
Declaration
public DefaultEntityIconAttribute(string customIconID)
Parameters
Type | Name | Description |
---|---|---|
string | customIconID | The custom icon (ImageID) to use for this entity |
Properties
DefaultIconID
The default icon for the system to use whenever displaying this entity in menus, or other ui appropriate contexts
Declaration
public Guid DefaultIconID { get; }
Property Value
Type | Description |
---|---|
Guid |