ClassGroupHeaderButton
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
GroupHeaderButton()
Initializes a new instance of the GroupHeaderButton class.
Declaration
public GroupHeaderButton()
Fields
IsCommandAttachedProperty
Identifies the IsCommandAttached read only DependencyProperty.
Declaration
public static readonly DependencyProperty IsCommandAttachedProperty
Field Value
DependencyProperty
IsTodayProperty
Identifies the IsToday DependencyProperty.
Declaration
public static readonly DependencyProperty IsTodayProperty
Field Value
DependencyProperty
OrientationProperty
Identifies the Orientation DependencyProperty.
Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
DependencyProperty
Properties
IsCommandAttached
Gets a Boolean property indicating if a command has been set to the button.
IsToday
Gets or Sets whether the button should highlight as Today.
Orientation
Gets or Sets the orientation of the button.
Declaration
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
public override void OnApplyTemplate()
Overrides
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
Overrides
OnIsPressedChanged(DependencyPropertyChangedEventArgs)
Called when the IsPressed property changes.
Declaration
protected override void OnIsPressedChanged(DependencyPropertyChangedEventArgs e)
Parameters
e
DependencyPropertyChangedEventArgs
Overrides
OnMouseEnter(MouseEventArgs)
Resets the CommonVisual states.
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
e
MouseEventArgs
Overrides
OnMouseLeave(MouseEventArgs)
Resets the CommonVisual states.
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
e
MouseEventArgs
Overrides
UpdateVisualStates(bool)
Updates the visual states.
Declaration
protected void UpdateVisualStates(bool useTransitions)
Parameters
useTransitions
If set to true use transitions.