ClassRadCalendarElement
Represents a calendar element that provides calendar functionality with various views and navigation options.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadCalendarElement : CalendarVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementCalendarVisualElementRadCalendarElement
Implements:
Inherited Members
Constructors
RadCalendarElement(RadCalendar)
Initializes a new instance of the RadCalendarElement class.
Declaration
public RadCalendarElement(RadCalendar calendar)
Parameters
calendar
The parent RadCalendar control.
RadCalendarElement(RadCalendar, CalendarView)
Initializes a new instance of the RadCalendarElement class.
Declaration
public RadCalendarElement(RadCalendar calendar, CalendarView view)
Parameters
calendar
The parent RadCalendar control.
view
The calendar view to associate with this element.
Fields
AllowFishEyeProperty
Identifies the AllowFishEye dependency property.
Declaration
public static RadProperty AllowFishEyeProperty
Field Value
HeaderHeightProperty
Identifies the HeaderHeight dependency property.
Declaration
public static RadProperty HeaderHeightProperty
Field Value
HeaderWidthProperty
Identifies the HeaderWidth dependency property.
ZoomFactorProperty
Identifies the ZoomFactor dependency property.
Properties
AllowDropDownFastNavigation
Gets or sets a value whether drop down fast navigation is enabled.
Declaration
public bool AllowDropDownFastNavigation { get; set; }
Property Value
AllowFishEye
Gets or sets whether the fish eye functionality is enabled
CalendarNavigationElement
Gets the calendar navigation element that contains the navigation buttons.
Declaration
public CalendarNavigationElement CalendarNavigationElement { get; }
Property Value
CalendarStatusElement
Gets the calendar status element that contains the footer buttons.
Declaration
public CalendarStatusElement CalendarStatusElement { get; }
Property Value
CalendarVisualElement
Gets the calendar visual element that handles the rendering of the calendar.
Declaration
public CalendarVisualElement CalendarVisualElement { get; }
Property Value
FastBackwardButton
First button
Declaration
public RadButtonElement FastBackwardButton { get; }
Property Value
FastForwardButton
Last button
Declaration
public RadButtonElement FastForwardButton { get; }
Property Value
HeaderHeight
Gets or sets the height of header cells.
HeaderWidth
Gets or sets the width of header cells.
MonthStep
Gets or sets the number of months to step when navigating.
NextButton
Next button
Declaration
public RadButtonElement NextButton { get; }
Property Value
PreviousButton
Previous button
Declaration
public RadButtonElement PreviousButton { get; }
Property Value
SelectedElement
Gets the internal selected element.
Declaration
protected LightVisualElement SelectedElement { get; set; }
Property Value
View
Gets or sets the calendar view associated with this element.
Declaration
public override CalendarView View { get; set; }
Property Value
Overrides
ZoomFactor
Gets or sets the zooming factor of a cell which is handled by the fish eye functionality..
Methods
DisposeManagedResources()
Disposes of managed resources including cached images and SVG images when the element is being disposed.
Declaration
protected override void DisposeManagedResources()
Overrides
InitializeFields()
Initializes the internal fields and components of the LightVisualElement. This method sets up text primitives, image primitives, and layout management components.
Declaration
protected override void InitializeFields()
Overrides
LocalizeStrings()
Declaration
protected virtual void LocalizeStrings()
OnBubbleEvent(RadElement, RoutedEventArgs)
Called when the bubble phase of a routed event occurs.
Declaration
protected override void OnBubbleEvent(RadElement sender, RoutedEventArgs args)
Parameters
sender
The element that originally raised the event.
args
The routed event arguments.
Overrides
RefreshVisuals()
Refreshes the visual appearance of all child elements.
Declaration
public override void RefreshVisuals()
Overrides
RefreshVisuals(bool)
Refreshes the visual appearance of all child elements.
Declaration
public override void RefreshVisuals(bool unconditional)
Parameters
unconditional
Whether to force the refresh unconditionally.
Overrides