CalendarCellElement
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
public CalendarCellElement(CalendarVisualElement owner, RadCalendar calendar, CalendarView view, string text)
public CalendarCellElement(CalendarVisualElement owner, string text)
public CalendarCellElement(RadCalendar calendar, CalendarView view, string text)
public CalendarCellElement(RadCalendar calendar, CalendarView view)
Fields
public static RadProperty AllowFishEyeProperty
public static RoutedEvent CellClickedEvent
public static RadProperty FocusedProperty
public static RadProperty IsHeaderCellProperty
public static RadProperty IsZoomingProperty
public static RadProperty OtherMonthProperty
public static RadProperty OutOfRangeProperty
public static RadProperty SelectedProperty
public static RadProperty SpecialDayProperty
public static RadProperty TodayProperty
public static RadProperty WeekEndProperty
public static RadProperty ZoomFactorProperty
Properties
Indicates the fish eye feature factor of a cell.
public virtual bool AllowFishEye { get; set; }
Gets or sets the date which that cell is representing.
public virtual DateTime Date { get; set; }
Gets or sets the default size for the visual element.
public override Size DefaultSize { get; set; }
Overrides:
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.
Gets or sets the cell which is from other month.
public virtual bool OtherMonth { get; set; }
Gets or sets the out of range cell.
public virtual bool OutOfRange { get; set; }
Gets or sets a cell representing a special day.
public virtual bool SpecialDay { get; set; }
Gets or sets the zooming factor of a cell.
public virtual float ZoomFactor { get; set; }
Methods
Arranges the content and child elements within the final allocated space, positioning text, images, and child elements.
Called when the DPI scale factor changes. Updates the scale factor and notifies child elements.
public override void DpiScaleChanged(SizeF scaleFactor)
The new DPI scale factor.
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:
Measures the desired size of the element by calculating the space needed for content, padding, and borders.
Handles property change events by invalidating the fill cache and invoking the base class property change handler.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Event arguments containing information about the property that changed.
Overrides:
Returns a string representation of the RadComponentElement, including its site name if available.
public override string ToString()
A string containing the site name and type name if the element has a site; otherwise, just the type name.
Overrides: