RadCalendarElement
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
Initializes a new instance of the RadCalendarElement class.
public RadCalendarElement(RadCalendar calendar, CalendarView view)
The parent RadCalendar control.
viewCalendarViewThe calendar view to associate with this element.
Initializes a new instance of the RadCalendarElement class.
public RadCalendarElement(RadCalendar calendar)
The parent RadCalendar control.
Fields
Identifies the AllowFishEye dependency property.
public static RadProperty AllowFishEyeProperty
Identifies the HeaderHeight dependency property.
public static RadProperty HeaderHeightProperty
Identifies the HeaderWidth dependency property.
public static RadProperty HeaderWidthProperty
Identifies the ZoomFactor dependency property.
public static RadProperty ZoomFactorProperty
Properties
Gets or sets a value whether drop down fast navigation is enabled.
public bool AllowDropDownFastNavigation { get; set; }
Gets or sets whether the fish eye functionality is enabled
public virtual bool AllowFishEye { get; set; }
Gets the calendar navigation element that contains the navigation buttons.
public CalendarNavigationElement CalendarNavigationElement { get; }
Gets the calendar status element that contains the footer buttons.
public CalendarStatusElement CalendarStatusElement { get; }
Gets the calendar visual element that handles the rendering of the calendar.
public CalendarVisualElement CalendarVisualElement { get; }
First button
public RadButtonElement FastBackwardButton { get; }
Last button
public RadButtonElement FastForwardButton { get; }
Gets or sets the height of header cells.
public virtual int HeaderHeight { get; set; }
Gets or sets the width of header cells.
public virtual int HeaderWidth { get; set; }
Gets or sets the number of months to step when navigating.
public int MonthStep { get; set; }
Next button
public RadButtonElement NextButton { get; }
Previous button
public RadButtonElement PreviousButton { get; }
Gets the internal selected element.
protected LightVisualElement SelectedElement { get; set; }
Gets or sets the calendar view associated with this element.
public override CalendarView View { get; set; }
Overrides:
Gets or sets the zooming factor of a cell which is handled by the fish eye functionality..
public virtual float ZoomFactor { get; set; }
Methods
Disposes of managed resources including cached images and SVG images when the element is being disposed.
protected override void DisposeManagedResources()
Overrides:
Initializes the internal fields and components of the LightVisualElement. This method sets up text primitives, image primitives, and layout management components.
protected override void InitializeFields()
Overrides:
protected virtual void LocalizeStrings()
Called when the bubble phase of a routed event occurs.
protected override void OnBubbleEvent(RadElement sender, RoutedEventArgs args)
The element that originally raised the event.
argsRoutedEventArgsThe routed event arguments.
Overrides:
Refreshes the visual appearance of all child elements.
public override void RefreshVisuals()
Overrides:
Refreshes the visual appearance of all child elements.
public override void RefreshVisuals(bool unconditional)
Whether to force the refresh unconditionally.
Overrides: