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
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.ScheduleView.dll
Syntax:
public class GroupHeaderButton : RadButton
Inheritance: objectRadButtonGroupHeaderButton
Inherited Members
Constructors
Initializes a new instance of the GroupHeaderButton class.
public GroupHeaderButton()
Fields
IsCommandAttachedProperty
DependencyProperty
Identifies the IsCommandAttached read only DependencyProperty.
public static readonly DependencyProperty IsCommandAttachedProperty
IsTodayProperty
DependencyProperty
Identifies the IsToday DependencyProperty.
public static readonly DependencyProperty IsTodayProperty
OrientationProperty
DependencyProperty
Identifies the Orientation DependencyProperty.
public static readonly DependencyProperty OrientationProperty
Properties
Gets a Boolean property indicating if a command has been set to the button.
public bool IsCommandAttached { get; }
Gets or Sets whether the button should highlight as Today.
public bool IsToday { get; set; }
Orientation
Orientation
Gets or Sets the orientation of the button.
public Orientation Orientation { get; set; }
Methods
Invoked whenever application code or internal processes (such as a rebuilding layout pass) call. .
public override void OnApplyTemplate()
Overrides:
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Overrides:
Called when the IsPressed property changes.
protected override void OnIsPressedChanged(DependencyPropertyChangedEventArgs e)
Overrides:
Resets the CommonVisual states.
protected override void OnMouseEnter(MouseEventArgs e)
Overrides:
Resets the CommonVisual states.
protected override void OnMouseLeave(MouseEventArgs e)
Overrides:
Updates the visual states.
protected void UpdateVisualStates(bool useTransitions)
If set to true use transitions.