ITimeSpanPickerContentElement
Defines the value, component, and popup-content operations used by a time-span picker.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public interface ITimeSpanPickerContentElement
Properties
Gets the collection of time-unit components displayed in the popup.
RadItemOwnerCollection Components { get; }
Gets or sets the upper bound used when preparing the popup's time-unit components.
TimeSpan MaxValue { get; set; }
Gets or sets the lower bound used when preparing the popup's time-unit components.
TimeSpan MinValue { get; set; }
Gets or sets whether value assignments to the popup content are ignored.
bool ReadOnly { get; set; }
Methods
Resets each unit component to its minimum value.
void ClearSelection()
Prepares component bounds, choices, and localization for the owner's current format.
void PrepareContent()
Applies a time span to each unit component so the popup reflects that value.
void SetValue(TimeSpan value)
The value to distribute across the components.
Refreshes localized text in the popup footer and unit components.
void UpdateLocalization()
Combines the selected unit values and updates the owner's time-span value.
void UpdateOwnerValue()
Events
Occurs when a time-unit component has been created and can be replaced before it is added to the popup.
event TimeSpanPickerComponentCreatedEventHandler ComponentCreated
Occurs after the components for the current format have been created.
event EventHandler ComponentsCreated