Skip to end of metadata
Go to start of metadata

Represents a customizable calendar control.

Definition

public class UICalendar : UIViewBase

Summary

The following table summarizes the members exposed in this class.

Public Constructors

UICalendar Constructor() Initializes a new instance of the UICalendar class.
UICalendar Constructor(IntPtr) Initializes a new instance of the UICalendar class.
UICalendar Constructor(NSObjectFlag) Initializes a new instance of the UICalendar class.
UICalendar Constructor(CGRect) Initializes a new instance of the UICalendar class.
UICalendar Constructor(NSCoder) Initializes a new instance of the UICalendar class.

Public Properties

BindingDescription Gets or sets the binding description.
CalendarSettings Gets the calendar settings.
Cells Gets or sets the calendar cells.
DisplayDate Gets or sets the display date.
Events Gets or sets the events.
FirstDayOfWeek Gets or sets the first day of week within a month.
NextButtonFileName Gets or sets the next button file name.
PreviousButtonFileName Gets or sets the previous button file name.
SelectDayCommand Gets or sets the select day command.

Public Methods

InitializeCalendarView() Initializes the calendar view.
LayoutSubviews() Called when the control needs to layout its subviews.

Protected Methods

Dispose(bool) Dispose the specified instance.
InitializeView() Initialize the view.

Public Constructors

public UICalendar()

Initializes a new instance of the UICalendar class.

public UICalendar(IntPtr handle)

Initializes a new instance of the UICalendar class.

Parameters

handle Handle.

public UICalendar(NSObjectFlag t)

Initializes a new instance of the UICalendar class.

Parameters

t T.

public UICalendar(CGRect frame)

Initializes a new instance of the UICalendar class.

Parameters

frame Frame.

public UICalendar(NSCoder coder)

Initializes a new instance of the UICalendar class.

Parameters

coder Coder.

Public Properties

public CalendarEventBindingDescription BindingDescription { get; set; }

Gets or sets the binding description.

public UICalendarSettings CalendarSettings { get; }

Gets the calendar settings.

public CalendarCell[,] Cells { get; set; }

Gets or sets the calendar cells.

public DateTime DisplayDate { get; set; }

Gets or sets the display date.

public IEnumerable<CalendarEvent> Events { get; set; }

Gets or sets the events.

public DayOfWeek FirstDayOfWeek { get; set; }

Gets or sets the first day of week within a month.

public string NextButtonFileName { get; set; }

Gets or sets the next button file name.

public string PreviousButtonFileName { get; set; }

Gets or sets the previous button file name.

public ICommand SelectDayCommand { get; set; }

Gets or sets the select day command.

Public Methods

public void InitializeCalendarView()

Initializes the calendar view.

public void LayoutSubviews()

Called when the control needs to layout its subviews.

Protected Methods

protected void Dispose(bool disposing)

Dispose the specified instance.

Parameters

disposing If set to true disposing.

protected void InitializeView()

Initialize the view.

  • No labels