IViewManagerShowDateTimePopup Method |
Shows date and time selection dialog.
Namespace:
Resto.Front.Api.UI
Assembly:
Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax DateTime? ShowDateTimePopup(
DateTime selectedDate,
string title,
DateTime minDate,
DateTime maxDate,
string okBtnText = null,
string cancelBtnText = null
)
Parameters
- selectedDate
- Type: SystemDateTime
Date and time that will be selected when showing the popup. - title
- Type: SystemString
Dialog title. - minDate
- Type: SystemDateTime
Minimal date and time. - maxDate
- Type: SystemDateTime
Maximal date and time. - okBtnText (Optional)
- Type: SystemString
Ok button text. - cancelBtnText (Optional)
- Type: SystemString
Cancel button text.
Return Value
Type:
NullableDateTimeSelected date
null if cancelled.
See Also