Selection
RadTimeSpanPicker control enables the app users to quickly and easily select a time interval. This topic will go through the provided by the DatePicker API related to time interval selection.
Important Properties
- Time(TimeSpan?): Defines the current selection of time interval. The default value is null.
Example
and add the following namespace:
Methods
TimeSpan Picker for Xamarin allows you to clear the selected date through its ClearSelection method
Example
In addition to this, you need to add the following namespace:
Call ClearSelection inside the button click event - as a result Time property will be updated to null.
Events
TimeSpan Picker exposes a SelectionChanged event which is raised when the user pick the selected date.
Example
In addition to this, you need to add the following namespace:
and the SelectionChanged event, where the sender is the RadTimeSpanPicker control