ClassCalendarButton
The class of the calendar button.
Definition
Namespace:Telerik.Windows.Controls.Calendar
Assembly:Telerik.Windows.Controls.Input.dll
Syntax:
public class CalendarButton : ContentControl
Inheritance: objectCalendarButton
Constructors
CalendarButton()
Initializes a new instance of the CalendarButton class.
Declaration
public CalendarButton()
CalendarButton(RadCalendar)
Initializes a new instance of the CalendarButton class.
Declaration
public CalendarButton(RadCalendar radCalendar)
Parameters
radCalendar
The parent RadCalendar of the CalendarButton
Fields
ButtonTypeProperty
Identifies the ButtonType property.
Declaration
public static readonly DependencyProperty ButtonTypeProperty
Field Value
DependencyProperty
IsFromCurrentViewProperty
Identifies the IsFromCurrentView property.
Declaration
public static readonly DependencyProperty IsFromCurrentViewProperty
Field Value
DependencyProperty
IsInAnotherViewProperty
Identifies the IsInAnotherView property.
Declaration
public static readonly DependencyProperty IsInAnotherViewProperty
Field Value
DependencyProperty
IsSelectedProperty
Identifies the IsSelected property.
Declaration
public static readonly DependencyProperty IsSelectedProperty
Field Value
DependencyProperty
TextProperty
Identifies the Text property.
Declaration
public static readonly DependencyProperty TextProperty
Field Value
DependencyProperty
Properties
ButtonType
Gets or sets the type of the button. This is a dependency property.
Declaration
public CalendarButtonType ButtonType { get; set; }
Property Value
IsFromCurrentView
Gets or sets whether the button belongs to the current month/year/decade/century. This is a dependency property.
IsInAnotherView
Gets or sets whether a button with the same content exists in another view (in a multi-view calendar). This is a dependency property.
IsSelected
Gets or sets whether the button is selected. This is a dependency property.
Methods
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call .
Declaration
public override void OnApplyTemplate()
OnGotFocus(RoutedEventArgs)
Called before the event occurs.
Declaration
protected override void OnGotFocus(RoutedEventArgs e)
Parameters
e
RoutedEventArgs
The data for the event.
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.
OnLostFocus(RoutedEventArgs)
Called before the event occurs.
Declaration
protected override void OnLostFocus(RoutedEventArgs e)
Parameters
e
RoutedEventArgs
The data for the event.
OnMouseEnter(MouseEventArgs)
Called before the event occurs.
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
e
MouseEventArgs
The data for the event.
OnMouseLeave(MouseEventArgs)
Called before the event occurs.
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
e
MouseEventArgs
The data for the event.