IViewManager.ShowDateTimePopup Method |
Shows date and time selection dialog.
Namespace:
Resto.Front.Api.UI
Assembly:
Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll)
SyntaxDateTime? ShowDateTimePopup(
DateTime selectedDate,
string title,
DateTime minDate,
DateTime maxDate,
string okBtnText = null,
string cancelBtnText = null
)
Parameters
- selectedDate
- Type: System.DateTime
Date and time that will be selected when showing the popup. - title
- Type: System.String
Dialog title. - minDate
- Type: System.DateTime
Minimal date and time. - maxDate
- Type: System.DateTime
Maximal date and time. - okBtnText (Optional)
- Type: System.String
Ok button text. - cancelBtnText (Optional)
- Type: System.String
Cancel button text.
Return Value
Type:
Nullable<DateTime>Selected date
null if cancelled.
See Also