Click or drag to resize
DigitalRuneThemeStateIsInherited Property
Gets or sets a value indicating whether this state is inherited.

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 bool IsInherited { get; set; }

Property Value

Type: Boolean
if this state is inherited; otherwise, .
Remarks
UIControls have VisualStates like "Default", "Disabled". The possible set of visual states depends on the control type. For example, a Button has a "Focused" state whereas a TextBlock does not have this visual state. But: If the TextBlock is set as the Content of a Button, it can inherit the "Focused" state from the parent button control. In this case IsInherited must be set to . The inherited visual state is used, when the control does not have the state but is inside a parent control that has the state.
See Also