Class
Label

Represents the text label for a control and provides support for access keys.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
[TelerikToolboxCategory("Common")]
public class Label : Label

Inheritance: objectLabel

Derived Classes: DialogLabelHeadingLabel

Constructors

Label()

Initializes a new instance of the Label class.

Declaration

cs-api-definition
public Label()

Methods

ChangeVisualState(bool)

Changes the visual state.

Declaration

cs-api-definition
protected virtual void ChangeVisualState(bool useTransitions)

Parameters

useTransitions

bool

If set to true [use transitions].

GoToState(bool, params string[])

Updates the visual state.

Declaration

cs-api-definition
protected void GoToState(bool useTransitions, params string[] stateNames)

Parameters

useTransitions

bool

stateNames

string[]

OnApplyTemplate()

Invoked whenever application code or internal processes (such as a rebuilding layout pass) call. .

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.