IColorable Interface
Defines a colorable visual.
graph BT Type["IColorable"] class Type type-node Implementing0["MenuDisplayItemModel"]-.->Type click Implementing0 "/SonghayCore/latest/Songhay.Models/MenuDisplayItemModel" Implementing1["ColorDisplayItemModel"]-.->Type click Implementing1 "/SonghayCore/latest/Songhay.Models/ColorDisplayItemModel"

Syntax

public interface IColorable

Properties

Name Property Type Summary
BackgroundHex string
Gets or sets the background hexadecimal value.
ForegroundHex string
Gets or sets the foreground hexadecimal value.

Extension Methods

Name Value Summary
IsAssignableToISerializable<IColorable>() bool
Determines whether the specified type can be assigned to System.Runtime.Serialization.ISerializable.
ToObjectOrDbNull<IColorable>() object
Boxes the nullable in object or returns DBNull.
ToReferenceTypeValueOrThrow<IColorable>(string) T
Returns the non-null value of the specified, nullable reference type or throws an ArgumentNullException when the value is null.