Class DurationPicker
Represents an editable Telerik.Windows.Controls.ComboBox control showing predefined time durations in minutes, hours, days and weeks.
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public class DurationPicker : RadComboBox, IThemable, IPopupWrapperOwner
Constructors
DurationPicker()
Fields
SelectedDurationProperty
Identifies the SelectedDuration property.
Declaration
public static readonly DependencyProperty SelectedDurationProperty
Field Value
System.Windows.DependencyProperty
The identifier for the SelectedDuration property. |
Properties
SelectedDuration
Gets or sets currently selected duration. This is a dependency property.
Declaration
public TimeSpan SelectedDuration { get; set; }
Property Value
System.TimeSpan
Selected duration. The default value is System.TimeSpan.Zero |
Methods
OnApplyTemplate()
Called when ApplyTemplate is called.
Declaration
public override void OnApplyTemplate()
Overrides
OnSelectedDurationChanged(DependencyPropertyChangedEventArgs)
Updates the text of the editable text box when SelectedDuration is changed.
Declaration
protected virtual void OnSelectedDurationChanged(DependencyPropertyChangedEventArgs args)
Parameters
System.Windows.DependencyPropertyChangedEventArgs
args
|
OnSelectionChanged(SelectionChangedEventArgs)
Called when the selection changes.
Declaration
protected override void OnSelectionChanged(SelectionChangedEventArgs e)
Parameters
System.Windows.Controls.SelectionChangedEventArgs
e
The event data. |