Class RadCalendarElement
Represents a calendar element that provides calendar functionality with various views and navigation options.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadCalendarElement : CalendarVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
RadCalendarElement(RadCalendar)
Initializes a new instance of the RadCalendarElement class.
Declaration
public RadCalendarElement(RadCalendar calendar)
Parameters
|
RadCalendar
calendar
The parent RadCalendar control. |
RadCalendarElement(RadCalendar, CalendarView)
Initializes a new instance of the RadCalendarElement class.
Declaration
public RadCalendarElement(RadCalendar calendar, CalendarView view)
Parameters
|
RadCalendar
calendar
The parent RadCalendar control. |
|
CalendarView
view
The calendar view to associate with this element. |
Fields
AllowFishEyeProperty
Identifies the AllowFishEye dependency property.
Declaration
public static RadProperty AllowFishEyeProperty
Field Value
|
RadProperty
|
HeaderHeightProperty
Identifies the HeaderHeight dependency property.
Declaration
public static RadProperty HeaderHeightProperty
Field Value
|
RadProperty
|
HeaderWidthProperty
Identifies the HeaderWidth dependency property.
Declaration
public static RadProperty HeaderWidthProperty
Field Value
|
RadProperty
|
ZoomFactorProperty
Identifies the ZoomFactor dependency property.
Declaration
public static RadProperty ZoomFactorProperty
Field Value
|
RadProperty
|
Properties
AllowDropDownFastNavigation
AllowFishEye
Gets or sets whether the fish eye functionality is enabled
Declaration
[RadPropertyDefaultValue("AllowFishEye", typeof(bool))]
public virtual bool AllowFishEye { get; set; }
Property Value
|
System.Boolean
|
CalendarNavigationElement
CalendarStatusElement
Gets the calendar status element that contains the footer buttons.
Declaration
public CalendarStatusElement CalendarStatusElement { get; }
Property Value
|
CalendarStatusElement
|
CalendarVisualElement
Gets the calendar visual element that handles the rendering of the calendar.
Declaration
public CalendarVisualElement CalendarVisualElement { get; }
Property Value
|
CalendarVisualElement
|
FastBackwardButton
First button
Declaration
public RadButtonElement FastBackwardButton { get; }
Property Value
|
RadButtonElement
|
FastForwardButton
Last button
Declaration
public RadButtonElement FastForwardButton { get; }
Property Value
|
RadButtonElement
|
HeaderHeight
Gets or sets the height of header cells.
Declaration
[RadPropertyDefaultValue("HeaderHeight", typeof(int))]
public virtual int HeaderHeight { get; set; }
Property Value
|
System.Int32
|
HeaderWidth
Gets or sets the width of header cells.
Declaration
[RadPropertyDefaultValue("HeaderWidth", typeof(int))]
public virtual int HeaderWidth { get; set; }
Property Value
|
System.Int32
|
MonthStep
Gets or sets the number of months to step when navigating.
Declaration
public int MonthStep { get; set; }
Property Value
|
System.Int32
|
NextButton
PreviousButton
Previous button
Declaration
public RadButtonElement PreviousButton { get; }
Property Value
|
RadButtonElement
|
SelectedElement
Gets the internal selected element.
Declaration
protected LightVisualElement SelectedElement { get; set; }
Property Value
|
LightVisualElement
|
View
Gets or sets the calendar view associated with this element.
Declaration
public override CalendarView View { get; set; }
Property Value
|
CalendarView
|
Overrides
ZoomFactor
Gets or sets the zooming factor of a cell which is handled by the fish eye functionality..
Declaration
[RadPropertyDefaultValue("ZoomFactor", typeof(float))]
public virtual float ZoomFactor { get; set; }
Property Value
|
System.Single
|
ZoomLevel
Gets or sets the current zoom level of the calendar (Days, Months, Years, etc.).
Declaration
public ZoomLevel ZoomLevel { get; set; }
Property Value
|
ZoomLevel
|
Methods
DisposeManagedResources()
Declaration
protected override void DisposeManagedResources()
Overrides
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
LocalizeStrings()
Declaration
protected virtual void LocalizeStrings()
OnBubbleEvent(RadElement, RoutedEventArgs)
Declaration
protected override void OnBubbleEvent(RadElement sender, RoutedEventArgs args)
Parameters
|
RadElement
sender
|
|
RoutedEventArgs
args
|
Overrides
RefreshVisuals()
Refreshes the visual appearance of all child elements.
Declaration
public override void RefreshVisuals()
Overrides
RefreshVisuals(Boolean)
Refreshes the visual appearance of all child elements.
Declaration
public override void RefreshVisuals(bool unconditional)
Parameters
|
System.Boolean
unconditional
Whether to force the refresh unconditionally. |