ClassCalendarCellElement
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class CalendarCellElement : CalendarVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementCalendarVisualElementCalendarCellElement
Derived Classes:
Implements:
Inherited Members
Constructors
CalendarCellElement(CalendarVisualElement)
Declaration
public CalendarCellElement(CalendarVisualElement owner)
Parameters
owner
CalendarCellElement(CalendarVisualElement, RadCalendar, CalendarView, string)
Declaration
public CalendarCellElement(CalendarVisualElement owner, RadCalendar calendar, CalendarView view, string text)
Parameters
owner
calendar
view
text
CalendarCellElement(CalendarVisualElement, string)
Declaration
public CalendarCellElement(CalendarVisualElement owner, string text)
Parameters
owner
text
CalendarCellElement(RadCalendar, CalendarView)
Declaration
public CalendarCellElement(RadCalendar calendar, CalendarView view)
Parameters
calendar
view
CalendarCellElement(RadCalendar, CalendarView, string)
Declaration
public CalendarCellElement(RadCalendar calendar, CalendarView view, string text)
Parameters
calendar
view
text
Fields
AllowFishEyeProperty
Declaration
public static RadProperty AllowFishEyeProperty
Field Value
IsHeaderCellProperty
Declaration
public static RadProperty IsHeaderCellProperty
Field Value
Properties
AllowFishEye
Indicates the fish eye feature factor of a cell.
Date
Gets or sets the date which that cell is representing.
DefaultSize
Gets or sets the default size for the visual element.
Declaration
public override Size DefaultSize { get; set; }
Property Value
Overrides
Remarks
The default size is used as the preferred size when measuring and arranging elements. This property is inheritable through the element tree and affects layout calculations.
Focused
Gets or sets the today cell.
OtherMonth
Gets or sets the cell which is from other month.
OutOfRange
Gets or sets the out of range cell.
Selected
Gets or sets the selected cell.
SpecialDay
Gets or sets a cell representing a special day.
Today
Gets or sets the today cell.
WeekEnd
Gets or sets the week end cell.
ZoomFactor
Gets or sets the zooming factor of a cell.
Methods
ArrangeOverride(SizeF)
Arranges the content and child elements within the final allocated space, positioning text, images, and child elements.
DpiScaleChanged(SizeF)
Called when the DPI scale factor changes. Updates the scale factor and notifies child elements.
Declaration
public override void DpiScaleChanged(SizeF scaleFactor)
Parameters
scaleFactor
The new DPI scale factor.
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
MeasureOverride(SizeF)
Measures the desired size of the element by calculating the space needed for content, padding, and borders.
OnPropertyChanged(RadPropertyChangedEventArgs)
Handles property change events by invalidating the fill cache and invoking the base class property change handler.
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
e
Event arguments containing information about the property that changed.
Overrides
ToString()
Returns a string representation of the RadComponentElement, including its site name if available.
Declaration
public override string ToString()
Returns
A string containing the site name and type name if the element has a site; otherwise, just the type name.
Overrides