[]
        
(Showing Draft Content)

C1.WinUI.Calendar.CalendarSlotsPanel-1

CalendarSlotsPanel<S> Class

Abstract panel used to render days, month years and days of weeks as a uniform grid which also allows rendering slots out of view.

Namespace: C1.WinUI.Calendar
Assembly: C1.WinUI.Calendar.dll
Syntax
public abstract class CalendarSlotsPanel<S> : Panel where S : CalendarSlotInfo
Type Parameters
Name Description
S

The type of the slot. Inherit this class to add custom properties.

Constructors

Name Description
CalendarSlotsPanel()

Initializes a new instance of the CalendarSlotsPanel<S> class.

Fields

Name Description
ColumnsProperty

Identifies the Columns dependency property.

RowsProperty

Identifies the Rows dependency property.

Properties

Name Description
Adapter

Returns reference to the CalendarAdapter object.

Calendar

The calendar associated to the panel.

Columns

Gets or sets the number of visible columns.

EndOverflow

Gets the length in pixels of the elements that are out of view at the end considering Microsoft.UI.Xaml.Controls.Orientation.

IsDisposed

Gets whether this instance is disposed.

Overflow

Gets the lengths in pixels of the visible boundaries.

Rows

Gets or sets the number of visible rows.

StartOverflow

Gets the length in pixels of the elements that are out of view at the start considering Microsoft.UI.Xaml.Controls.Orientation.

Methods

Name Description
ArrangeOverride(Size)
Dispose()
Dispose(bool)
Finalize()
GetSlots()

When overriden, it returns the slots that will be displayed.

MeasureOverride(Size)
OnApplyTemplate()
Refresh(bool)

Recreates the slots.