Class StyleResource
A named style: text settings and per-state looks that a control takes with
Style="name".
public class StyleResource : Resource
- Inheritance
-
StyleResource
- Inherited Members
Properties
BasedOn
Another style this one builds on. Anything this style does not set is taken from it.
public string BasedOn { get; set; }
Property Value
CheckedState
The look of a check box or radio button while checked.
public ControlState CheckedState { get; set; }
Property Value
ClickedState
The look while a control is pressed with the mouse.
public ControlState ClickedState { get; set; }
Property Value
FocusedState
The look while a control has keyboard focus.
public ControlState FocusedState { get; set; }
Property Value
Font
The font to use, as a path or a {Resource Id} reference.
public string Font { get; set; }
Property Value
FontSize
The point size of the text. Zero keeps the control's own size.
public float FontSize { get; set; }
Property Value
HoverState
The look while the pointer is over a control.
public ControlState HoverState { get; set; }
Property Value
LetterSpacing
Extra space between glyphs, in pixels. Zero keeps the control's own spacing.
public float LetterSpacing { get; set; }
Property Value
NormalState
The look of a control in its normal state.
public ControlState NormalState { get; set; }
Property Value
UncheckedState
The look of a check box or radio button while unchecked.
public ControlState UncheckedState { get; set; }