Gets or sets the style.

Namespace: DigitalRune.Game.UI.Controls
Assembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.1.0.0 (1.1.1.9392)

Syntax

C#
public string Style { get; set; }
Visual Basic
Public Property Style As String
	Get
	Set
Visual C++
public:
property String^ Style {
	String^ get ();
	void set (String^ value);
}

Field Value

The style.

Remarks

The style of a control defines how it should be rendered and what default values it should use. When a control is loaded or when the Style is changed, a template game object will be created with default values defined by the renderer. (The renderer defines the visual theme including default values.) This game object is then set as the Template of this UIControl.

See Also