Click or drag to resize
DigitalRuneThemeStyleStates Property
Gets the visual states.

Namespace: DigitalRune.Game.UI.Rendering
Assembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax
public NamedObjectCollection<ThemeState> States { get; }

Property Value

Type: NamedObjectCollectionThemeState
The visual states.
Remarks
The UIRenderer selects the first matching state from this collection. The visual states should therefore be sorted by priority in case there are conflicting states. For example, when a style includes inherited visual states (see IsInherited) and normal visual states, then the inherited visual states need to be the first in the collection. Otherwise, the render will most likely ignore them.
See Also