Skip to main content

Calendar Class

Package: GHIElectronics.Endpoint.UI
Namespace: GHIElectronics.Endpoint.UI

Month calendar.

public class Calendar : Widget

Constructors​

Calendar(Widget parent)​

public Calendar(Widget parent)

Create a calendar inside parent.

ParameterTypeDescription
parentWidgetContaining widget.

Methods​

SetShowedDate(int year, int month)​

public void SetShowedDate(int year, int month)

Set the month shown by the calendar.

ParameterTypeDescription
yearintFour-digit year.
monthintMonth, 1 (January) to 12 (December).

SetToday(int year, int month, int day)​

public void SetToday(int year, int month, int day)

Set the day that is highlighted as "today".

ParameterTypeDescription
yearintFour-digit year.
monthintMonth, 1-12.
dayintDay of month, 1-31.