s&box docs

public sealed class IconAttribute : System.Attribute

Sets the icon of a type or a type member. Colors are expected in HTML formats, like "rgb(255,255,255)" or "#FFFFFF". This info can then be retrieved via DisplayInfo library.

Constructors

Showing 2 constructors

Properties

Showing 3 properties

public System.Nullable`1<Color> IconAttribute.BackgroundColor { get; set; }

The preferred background color for the icon.

public System.Nullable`1<Color> IconAttribute.ForegroundColor { get; set; }

The preferred color of the icon itself.

Metadata

FieldValue
Namespaceglobal
Typeclass
AssemblySandbox.System
Doc IDT:IconAttribute

On this page