Click or drag to resize

IViewManagerShowCalendarPopup Method

Shows date selection dialog with calendar.

Namespace:  Resto.Front.Api.UI
Assembly:  Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll)
Syntax
C#
DateTime? ShowCalendarPopup(
	DateTime selectedDate,
	string title,
	DateTime minDate,
	DateTime maxDate,
	string okBtnText = null,
	string cancelBtnText = null
)

Parameters

selectedDate
Type: SystemDateTime
Date that will be selected when showing the popup.
title
Type: SystemString
Dialog title.
minDate
Type: SystemDateTime
Minimal date.
maxDate
Type: SystemDateTime
Maximal date.
okBtnText (Optional)
Type: SystemString
Ok button text.
cancelBtnText (Optional)
Type: SystemString
Cancel button text.

Return Value

Type: NullableDateTime
Selected date null if cancelled.
See Also