skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class DurationPicker

Represents an editable Telerik.Windows.Controls.ComboBox control showing predefined time durations in minutes, hours, days and weeks.

Inheritance
System.Object
RadComboBox
DurationPicker
Inherited Members
RadComboBox.CommandProperty
RadComboBox.CommandParameterProperty
RadComboBox.CommandTargetProperty
RadComboBox.IsWatermarkVisibleProperty
RadComboBox.CanAutocompleteSelectItemsProperty
RadComboBox.CanKeyboardNavigationSelectItemsProperty
RadComboBox.NonEditableTemplateProperty
RadComboBox.EditableTemplateProperty
RadComboBox.MinDropDownWidthProperty
RadComboBox.IsDropDownOpenProperty
RadComboBox.MaxDropDownHeightProperty
RadComboBox.IsReadOnlyProperty
RadComboBox.IsEditableProperty
RadComboBox.IsMouseWheelEnabledProperty
RadComboBox.OpenDropDownOnFocusProperty
RadComboBox.SelectionBoxItemProperty
RadComboBox.SelectionBoxItemTemplateProperty
RadComboBox.SelectionBoxTemplateProperty
RadComboBox.EmptySelectionBoxTemplateProperty
RadComboBox.EmptyTextProperty
RadComboBox.TextProperty
RadComboBox.IsFilteringEnabledProperty
RadComboBox.TextSearchModeProperty
RadComboBox.FilteringModeProperty
RadComboBox.IsHighlightedProperty
RadComboBox.StaysOpenOnEditProperty
RadComboBox.ClearSelectionButtonVisibilityProperty
RadComboBox.ClearSelectionButtonContentProperty
RadComboBox.SelectAllTextEventProperty
RadComboBox.DropDownWidthProperty
RadComboBox.TextBoxStyleProperty
RadComboBox.IsDropDownTabNavigationEnabledProperty
RadComboBox.UpdateSelectionOnLostFocusProperty
RadComboBox.DropDownButtonIconContentProperty
RadComboBox.DropDownButtonIconTemplateProperty
RadComboBox.AutoCompleteSelectionModeProperty
RadComboBox.AllowMultipleSelectionProperty
RadComboBox.MultipleSelectionBoxTemplateProperty
RadComboBox.MultipleSelectionSeparatorProperty
RadComboBox.MultipleSelectionSeparatorStringFormatProperty
RadComboBox.HandleTextInput(String)
RadComboBox.HandleKeyDown(Key, Int32)
RadComboBox.ChangeVisualState(Boolean)
RadComboBox.OnInitialized(EventArgs)
RadComboBox.OnCreateAutomationPeer()
RadComboBox.OnScrollIntoView(Int32)
RadComboBox.ClearContainerForItemOverride(DependencyObject, Object)
RadComboBox.GetContainerForItemOverride()
RadComboBox.IsItemItsOwnContainerOverride(Object)
RadComboBox.PrepareContainerForItemOverride(DependencyObject, Object)
RadComboBox.OnDropDownClosed(EventArgs)
RadComboBox.OnDropDownOpened(EventArgs)
RadComboBox.OnIsDropDownOpenChanged(Boolean, Boolean)
RadComboBox.OnIsEditableChanged(Boolean, Boolean)
RadComboBox.OnIsMouseWheelEnabledChanged(Boolean, Boolean)
RadComboBox.OnTextChanged(String, String)
RadComboBox.OnMouseWheel(MouseWheelEventArgs)
RadComboBox.OnTextInput(TextCompositionEventArgs)
RadComboBox.OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs)
RadComboBox.OnTextBoxStyleChanged()
RadComboBox.Command
RadComboBox.CommandParameter
RadComboBox.CommandTarget
RadComboBox.CanAutocompleteSelectItems
RadComboBox.CanKeyboardNavigationSelectItems
RadComboBox.NonEditableTemplate
RadComboBox.EditableTemplate
RadComboBox.TextSearchMode
RadComboBox.IsFilteringEnabled
RadComboBox.IsDropDownOpen
RadComboBox.DropDownWidth
RadComboBox.IsEditable
RadComboBox.IsWatermarkVisible
RadComboBox.IsHighlighted
RadComboBox.OpenDropDownOnFocus
RadComboBox.IsReadOnly
RadComboBox.UpdateTextOnLostFocus
RadComboBox.MaxDropDownHeight
RadComboBox.MinDropDownWidth
RadComboBox.SelectionBoxItem
RadComboBox.SelectionBoxTemplate
RadComboBox.EmptyText
RadComboBox.EmptySelectionBoxTemplate
RadComboBox.SelectionBoxItemTemplate
RadComboBox.StaysOpenOnEdit
RadComboBox.IsMouseWheelEnabled
RadComboBox.Text
RadComboBox.ClearSelectionButtonVisibility
RadComboBox.ClearSelectionButtonContent
RadComboBox.SelectAllTextEvent
RadComboBox.TextBoxStyle
RadComboBox.IsDropDownTabNavigationEnabled
RadComboBox.UpdateSelectionOnLostFocus
RadComboBox.FilteringBehavior
RadComboBox.DropDownButtonIconContent
RadComboBox.DropDownButtonIconTemplate
RadComboBox.AutoCompleteSelectionMode
RadComboBox.TextInputString
RadComboBox.HandlesScrolling
RadComboBox.AllowMultipleSelection
RadComboBox.MultipleSelectionBoxTemplate
RadComboBox.MultipleSelectionSeparator
RadComboBox.MultipleSelectionSeparatorStringFormat
RadComboBox.DropDownClosed
RadComboBox.DropDownOpened
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.ScheduleView.dll

Syntax

public class DurationPicker : RadComboBox, IThemable, IPopupWrapperOwner

Constructors

DurationPicker()

Initializes a new instance of the DurationPicker class.

Declaration
public 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
RadComboBox.OnApplyTemplate()

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.

Overrides
RadComboBox.OnSelectionChanged(SelectionChangedEventArgs)

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.