CalendarTableElement
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class CalendarTableElement : CalendarVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementCalendarVisualElementCalendarTableElement...
Derived Classes:
Implements:
Inherited Members
Constructors
protected CalendarTableElement(CalendarVisualElement owner, RadCalendar calendar, CalendarView view)
protected CalendarTableElement(CalendarVisualElement owner)
Fields
protected CalendarView cachedView
protected List<LightVisualElement> visualElements
Properties
enable or disable animation on mouse click
protected bool AllowFadeAndAnimation { get; set; }
Gets the parent calendar that the current view is assigned to.
public override RadCalendar Calendar { get; }
Overrides:
protected virtual int CellHorizontalSpacing { get; set; }
protected virtual int CellVerticalSpacing { get; set; }
protected override CalendarVisualElement Owner { get; set; }
Overrides:
public LightVisualElement SelectedElement { get; set; }
Exposes the top instance of CalendarView or its derived types.
v <p>Every <strong>CalendarView</strong> class handles the real calculation and
rendering of <strong>RadCalendar</strong>'s calendric information. The
<strong>CalendarView</strong> has the
<a href="Telerik.WinControls.UI.CalendarViewCollection">
CalendarViewCollection</a> collection which contains all the sub views in case of multi view
setup.</p>
public override CalendarView View { get; set; }
Overrides:
Methods
Arranges the content and child elements within the final allocated space, positioning text, images, and child elements.
Called by the element when constructed. Allows inheritors to build the element tree.
protected override void CreateChildElements()
Overrides:
protected virtual void CreateVisuals()
Disposes of managed resources including cached images and SVG images when the element is being disposed.
protected override void DisposeManagedResources()
Overrides:
protected virtual List<CalendarCellElement> GetElementsByColumn(int column)
List<CalendarCellElement>
protected virtual List<CalendarCellElement> GetElementsByRow(int row)
List<CalendarCellElement>
public virtual void Initialize()
protected virtual void InitializeChildren()
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:
Measures the desired size of the element by calculating the space needed for content, padding, and borders.
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:
protected virtual void Recreate()
protected virtual void RefreshSelectedDates()
protected virtual void RenderContent()
public virtual void ResetVisuals()
protected virtual void SetBehaviorOnPropertyChange(string propertyName)
protected virtual void SetCalendarCell(LightVisualElement processedCell, DateTime processedDate)