Class
GroupHeaderButton

A RadButton implementation that serves as clickable header button. It's MouseOver and Pressed states will be inactive if no Command is attached.

Definition

Constructors

GroupHeaderButton()

Initializes a new instance of the GroupHeaderButton class.

Declaration

cs-api-definition
public GroupHeaderButton()

Fields

IsCommandAttachedProperty

Identifies the IsCommandAttached read only DependencyProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty IsCommandAttachedProperty

Field Value

DependencyProperty

IsTodayProperty

Identifies the IsToday DependencyProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty IsTodayProperty

Field Value

DependencyProperty

OrientationProperty

Identifies the Orientation DependencyProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty OrientationProperty

Field Value

DependencyProperty

Properties

IsCommandAttached

Gets a Boolean property indicating if a command has been set to the button.

Declaration

cs-api-definition
public bool IsCommandAttached { get; }

Property Value

bool

IsToday

Gets or Sets whether the button should highlight as Today.

Declaration

cs-api-definition
public bool IsToday { get; set; }

Property Value

bool

Orientation

Gets or Sets the orientation of the button.

Declaration

cs-api-definition
public Orientation Orientation { get; set; }

Property Value

Orientation

Methods

OnApplyTemplate()

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

Declaration

cs-api-definition
public override void OnApplyTemplate()

Overrides RadButton.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.

Overrides RadButton.OnInitialized(EventArgs)

OnIsPressedChanged(DependencyPropertyChangedEventArgs)

Called when the IsPressed property changes.

Declaration

cs-api-definition
protected override void OnIsPressedChanged(DependencyPropertyChangedEventArgs e)

Parameters

e

DependencyPropertyChangedEventArgs

Overrides RadButton.OnIsPressedChanged(DependencyPropertyChangedEventArgs)

OnMouseEnter(MouseEventArgs)

Resets the CommonVisual states.

Declaration

cs-api-definition
protected override void OnMouseEnter(MouseEventArgs e)

Parameters

e

MouseEventArgs

Overrides RadButton.OnMouseEnter(MouseEventArgs)

OnMouseLeave(MouseEventArgs)

Resets the CommonVisual states.

Declaration

cs-api-definition
protected override void OnMouseLeave(MouseEventArgs e)

Parameters

e

MouseEventArgs

Overrides RadButton.OnMouseLeave(MouseEventArgs)

UpdateVisualStates(bool)

Updates the visual states.

Declaration

cs-api-definition
protected void UpdateVisualStates(bool useTransitions)

Parameters

useTransitions

bool

If set to true use transitions.