[]
        
(Showing Draft Content)

C1.iOS.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.

Implements
Namespace: C1.iOS.Calendar
Assembly: C1.iOS.Calendar.dll
Syntax
public abstract class CalendarSlotsPanel<S> : UIView, IDependencyObject where S : C1Calendar.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
RowsProperty

Properties

Name Description
Calendar

The calendar associated to the panel.

Columns

Gets or sets the number of visible columns.

EndOverflow

Gets the lenght in pixels of the elements that are out of view at the end considering CalendarOrientation.

IntrinsicContentSize
Overflow

Gets the lenghts in pixels of the visible boundaries.

Rows

Gets or sets the number of visible rows.

StartOverflow

Gets the lenght in pixels of the elements that are out of view at the start considering CalendarOrientation.

Methods

Name Description
CreateContainer()

Creates the container.

CreateContent(S)

Creates the content of the slot.

Dispose(bool)
GetSlots()

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

LayoutSubviews()
PrepareContainer(CalendarSlotPresenter, S)

Prepares the item to be shown.

Refresh(bool)

Recreates the slots.