Click or drag to resize

IViewManagerShowDateTimePopup Method

Shows date and time selection dialog.

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

Parameters

selectedDate  DateTime
Date and time that will be selected when showing the popup.
title  String
Dialog title.
minDate  DateTime
Minimal date and time.
maxDate  DateTime
Maximal date and time.
okBtnText  String  (Optional)
Ok button text.
cancelBtnText  String  (Optional)
Cancel button text.

Return Value

NullableDateTime
Selected date null if cancelled.
See Also