LuciadCPillar C# 2023.1.04
|
Representation of the state of a feature. More...
Public Member Functions | |
void | Dispose () |
override bool | Equals (object other) |
override int | GetHashCode () |
Static Public Member Functions | |
static FeatureState | GetValue (string name) |
Returns the FeatureState with the given name. More... | |
static FeatureState | RegisterValue (string name) |
Registers a new FeatureState with the given name. More... | |
Properties | |
static FeatureState | Hover = HoverInternal() [get] |
string | Name [get] |
static FeatureState | Selected = SelectedInternal() [get] |
static System.Collections.Generic.IList< FeatureState > | Values [get] |
Representation of the state of a feature.
By default the following states exist: selected hover
It is possible to register custom feature states using FeatureState::registerValue. You can use such custom feature states to style objects differently.
|
inline |
|
inline |
|
inline |
|
inlinestatic |
Returns the FeatureState with the given name.
If no such FeatureState exists, an exception will be thrown.
name
the name of the FeatureState.
the FeatureState with the given name.
InvalidArgumentException
if there is no feature state for the given name.
|
inlinestatic |
Registers a new FeatureState with the given name.
It is not allows the register multiple FeatureStates with the same name. If not, an exception will be thrown.
name
the name for the feature state. Must be unique.
InvalidArgumentException
if the value already exists.
|
staticget |
|
get |
|
staticget |
|
staticget |