Click or drag to resize
RadClock Class
Represents a selection control that allows you to select time from grid.
Inheritance Hierarchy
SystemObject
  System.Windows.ThreadingDispatcherObject
    System.WindowsDependencyObject
      System.Windows.MediaVisual
        System.WindowsUIElement
          System.WindowsFrameworkElement
            System.Windows.ControlsControl
              System.Windows.ControlsItemsControl
                Telerik.Windows.Controls.PrimitivesItemsControlSelector
                  Telerik.Windows.Controls.PrimitivesListControl
                    Telerik.Windows.ControlsRadListBox
                      Telerik.Windows.ControlsRadClock
                        Telerik.Windows.ControlsDateTimePickerClock

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Input (in Telerik.Windows.Controls.Input.dll) Version: 2017.3.913.40 (2017.3.913.40)
Syntax
public class RadClock : RadListBox, IThemable

The RadClock type exposes the following members.

Constructors
  NameDescription
Public methodRadClock
Initializes a new instance of the RadClock class.
Top
Methods
  NameDescription
Protected methodCanPerformSelection
Indicates whether the selection helper can perform operation or not.
(Overrides ListControlCanPerformSelection.)
Protected methodChangeVisualState
Updates the visual state of the control.
(Inherited from ItemsControlSelector.)
Protected methodClearContainerForItemOverride
Clears the values for SelectionHelper, ParentSelector and IsSelected properties.
(Inherited from ListControl.)
Protected methodClearContainerStates
Clears the properties that effect the visual states for the given container. This method is called in ClearContainerForItemOverride(DependencyObject, Object)
(Inherited from ListControl.)
Public methodEndInit
Called when the control is Initialized.
(Inherited from ItemsControlSelector.)
Protected methodGenerateItemsSource
Generates the items source.
Protected methodGetContainerForItemOverride
Creates or identifies the element that is used to display the given item.
(Overrides RadListBoxGetContainerForItemOverride.)
Public methodGetDataItem
Gets the data item according to its container.
(Inherited from RadListBox.)
Protected methodGetScrollViewerPart
Called on initializing the ScrollViewer on template applied. It's mandatory to get the ScrollViewer in order to perform selection.
(Inherited from ListControl.)
Protected methodGetSelectionBehavior
Gets the selection behavior.
(Inherited from ItemsControlSelector.)
Protected methodHandleKeyboardInput
When overridden in a derived class, is invoked whenever application code or internal processes call HandleKeyboardInput(Key). Override this method if a custom keyboard navigation is required.
(Overrides RadListBoxHandleKeyboardInput(Key).)
Protected methodHighlightedIndexChanged
Highlights the changed index.
(Inherited from ListControl.)
Protected methodInitializeSelectionBehavior
Initializes the selection behavior.
(Inherited from ItemsControlSelector.)
Protected methodInitializeTextRetriever
Initializes the text Retriever.
(Inherited from RadListBox.)
Protected methodInitializeValueRetriever
Initializes the value Retriever.
(Inherited from ItemsControlSelector.)
Protected methodIsIndexSelectable
Determines whether the index is selectable.
(Inherited from ListControl.)
Protected methodIsItemItsOwnContainerOverride
Determines if the specified item is (or is eligible to be) its own container.
(Overrides ListControlIsItemItsOwnContainerOverride(Object).)
Protected methodIsItemSelectable
Determines whether an item is selectable or not.
(Inherited from RadListBox.)
Public methodOnApplyTemplate
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate.
(Overrides RadListBoxOnApplyTemplate.)
Protected methodOnAutocompleteBehaviorTypedTextChanged
Called when a text is typed.
(Inherited from ListControl.)
Protected methodOnCreateAutomationPeer
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
(Overrides RadListBoxOnCreateAutomationPeer.)
Protected methodOnGotFocus
Called before the GotFocus event occurs.
(Overrides FrameworkElementOnGotFocus(RoutedEventArgs).)
Protected methodOnGotKeyboardFocus
Invoked when an unhandled GotKeyboardFocus attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Overrides UIElementOnGotKeyboardFocus(KeyboardFocusChangedEventArgs).)
Protected methodOnInitialized
Raises the Initialized event. This method is invoked whenever IsInitialized is set to true internally.
(Overrides RadListBoxOnInitialized(EventArgs).)
Protected methodOnIsEnabledChanged
Invoked when the IsEnabled property of the control changes.
(Inherited from ItemsControlSelector.)
Protected methodOnIsReadOnlyChanged Obsolete.
Called when IsReadOnly property is changed.
(Inherited from RadListBox.)
Protected methodOnItemsChanged
Raises the [E:ItemsChanged] event.
(Inherited from RadListBox.)
Protected methodOnItemsPanelChanged
Invoked when the ItemsPanel property changes.
(Inherited from ListControl.)
Protected methodOnItemsSourceChanged
Called when the SelectorControl.ItemsSource" property changes.
(Inherited from ItemsControlSelector.)
Protected methodOnKeyDown
Invoked when the KeyDown event is received.
(Inherited from RadListBox.)
Protected methodOnMatchingItemChanged
When overridden in a derived class, is invoked whenever application code or internal processes call OnMatchingItemChanged. Called when matching item is changed. Override this method if a custom logic is required when an item is changed.
(Inherited from ListControl.)
Protected methodOnSelectedTimeChanged
Called when the selected time is changed.
Protected methodOnSelectionChanged
Called when the selection changes.
(Overrides RadListBoxOnSelectionChanged(SelectionChangedEventArgs).)
Protected methodOnSelectionModeChanged
Called when selection mode changed. Update CanAutocompleteSelectItems property.
(Inherited from ListControl.)
Protected methodOnTextInput
Invoked when the TextInput event is received.
(Inherited from RadListBox.)
Protected methodPrepareContainerForItemOverride
Prepares the specified element to display the specified item.
(Overrides ListControlPrepareContainerForItemOverride(DependencyObject, Object).)
Public methodResetTheme
Resets the theme.
Public methodScrollIntoView(Int32)
Scrolls the into view.
(Inherited from ListControl.)
Public methodScrollIntoView(Object)
Scrolls the into view.
(Inherited from ListControl.)
Protected methodUpdateItems
Updates the items when ItemsChanged occurs.
(Inherited from RadListBox.)
Top
Extension Methods
  NameDescription
Public Extension MethodChildrenOfTypeT
Gets all child elements recursively from the visual tree by given type.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodClearIfNoBindingAndSet
Clears if set.
(Defined by CommonExtensions.)
Public Extension MethodClearIfSet
Clears the property if a value has been set.
(Defined by CommonExtensions.)
Public Extension MethodContainerFromIndex
Get container from index.
(Defined by ItemsControlSelectorExtensions.)
Public Extension MethodContainerFromItemOrContainer
Get container from item or container.
(Defined by ItemsControlSelectorExtensions.)
Public Extension MethodDeserializePrimitives
Deserializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodEnableLayoutRounding (Defined by LayoutRoundingHelperExtensions.)
Public Extension MethodFindChildByTypeT
Finds child element of the specified type. Uses breadth-first search.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodGetAssociatedInlineUIContainer (Defined by ExtensionMethods.)
Public Extension MethodGetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodGetBaseControlItemStatus
Gets a string that communicates the visual status of a Control.
(Defined by AutomationExtensions.)
Public Extension MethodGetBoundsRelativeTo
Gets the bounds relative to the current framework element.
(Defined by ExtensionMethods.)
Public Extension MethodGetGlobalMousePosition
(Defined by WindowHost.)
Public Extension MethodGetParents
Enumerates through element's parents in the visual tree.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodGetVisualParentT
Searches up in the visual tree for parent element of the specified type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is ancestor of the current UI element.
(Defined by ExtensionMethods.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is an ancestor of the descendant.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsKeyboardFocusWithin
Determines whether keyboard focus is within the current UI element.
(Defined by KeyboardHelper.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by DependencyObjectExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by CommonExtensions.)
Public Extension MethodParentOfTypeT
Gets the parent element from the visual tree by given type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodSerializePrimitives
Serializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodSetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodSetIfDifferent
Sets the value of the dependencyProperty property if it's hasn't that value currently.
(Defined by CommonExtensions.)
Public Extension MethodSetLayout
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Point)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Double, Double)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSlideInOverloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideIn(TimeSpan)Overloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOutOverloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOut(TimeSpan)Overloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan)Overloaded.
Translates the target element as requested by the parameters.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan, Action)Overloaded.
Translates the target element as requested by the parameters and executes the action request.
(Defined by CalendarAnimation.)
Top
Fields
  NameDescription
Public fieldStatic memberCultureProperty
Identifies the CultureProperty property.
Public fieldStatic memberEndTimeProperty
Identifies the EndTimeProperty property.
Public fieldStatic memberHeaderProperty
Identifies the Header property.
Public fieldStatic memberHeaderTemplateProperty
Identifies the HeaderTemplate property.
Public fieldStatic memberIsReadOnlyProperty
Identifies the IsReadOnly property.
Public fieldStatic memberSelectedTimeProperty Obsolete.
Identifies the SelectedTimeProperty property.
Public fieldStatic memberStartTimeProperty
Identifies the StartTimeProperty property.
Public fieldStatic memberTimeIntervalProperty
Identifies the TimeIntervalProperty property.
Top
Properties
  NameDescription
Protected propertyAutocompleteBehavior
Gets or sets the autocomplete behavior.
(Inherited from ListControl.)
Public propertyCanAutocompleteSelectItems
Gets or sets a value that specifies whether the autocomplete should select items, or not. This is a dependency property.
(Inherited from ListControl.)
Public propertyCanAutocompleteSelectPartialMatches
Gets or sets a value that specifies whether the autocomplete should select partially matching items, or not. This is a dependency property.
(Inherited from ListControl.)
Public propertyCanKeyboardNavigationSelectItems
Gets or sets the CanKeyboardNavigationSelectItems. This is a dependency property.
(Inherited from ListControl.)
Public propertyCommand
Gets or sets the Command. This is a dependency property.
(Inherited from ListControl.)
Public propertyCommandParameter
Gets or sets the CommandParameter. This is a dependency property.
(Inherited from ListControl.)
Public propertyCommandTarget
Gets or sets the CommandTarget. This is a dependency property.
(Inherited from ListControl.)
Public propertyCulture
Gets or sets the culture.
Public propertyDataConverter
Gets or sets the DataConverter. This is a dependency property.
(Inherited from RadListBox.)
Public propertyDragDropBehavior
Gets or sets the DragDropBehavior. This is a dependency property.
(Inherited from RadListBox.)
Public propertyDragVisualProvider
Gets or sets the DragVisualProvider. This is a dependency property.
(Inherited from RadListBox.)
Public propertyDropVisualProvider
Gets or sets the DropVisualProvider. This is a dependency property.
(Inherited from RadListBox.)
Public propertyEnableSelectionCaching
Gets or sets the EnableSelectionCaching. This is a dependency property.
(Inherited from ItemsControlSelector.)
Public propertyEndTime
Gets or sets the end time.
Public propertyHeader
Gets or sets the header.
Public propertyHeaderTemplate
Gets or sets the header template.
Public propertyHighlightedIndex
Gets the index of the highlighted item.
(Inherited from ListControl.)
Protected propertyHighlightedItem
Gets or sets the highlighted item.
(Inherited from ListControl.)
Protected propertyIsItemsHostVisible
Gets a value indicating whether the items host is visible. Override if a custom logic is required. Default value is true.
(Inherited from ListControl.)
Public propertyIsReadOnly
Gets or sets a value indicating whether this instance is read only.
Public propertyIsScrollIntoViewEnabled
Gets or sets the IsScrollIntoViewEnabled. This is a dependency property.
(Inherited from ListControl.)
Public propertyIsSynchronizedWithCurrentItem
Gets or sets the IsSynchronizedWithCurrentItem. This is a dependency property.
(Inherited from ItemsControlSelector.)
Public propertyItemSearch
Gets the ItemSearch which defines the logic how the items are found via the retrievers.
(Inherited from ItemsControlSelector.)
Protected propertyKeyboardNavigation
Gets the keyboard navigation.
(Inherited from ListControl.)
Public propertySelectedIndex
Gets or sets the SelectedIndex. This is a dependency property.
(Inherited from ItemsControlSelector.)
Public propertySelectedItem
Gets the item which is currently selected.
(Inherited from ItemsControlSelector.)
Public propertySelectedItems
Gets a collection of selected items.
(Inherited from ItemsControlSelector.)
Public propertySelectedTime
Gets or sets the selected time.
Public propertySelectedValue
Gets the value for the selected item.
(Inherited from ItemsControlSelector.)
Public propertySelectedValueBinding
Gets or sets the SelectedValueBinding.
(Inherited from ItemsControlSelector.)
Public propertySelectedValuePath
Gets or sets the selected value path.
(Inherited from ItemsControlSelector.)
Public propertySelectionHelper
The selection helper used in all ItemsControlSelectors. It coordinates the selection using the selection behaviors.
(Inherited from ItemsControlSelector.)
Public propertySelectionMode
Gets or sets the SelectionMode. This is a dependency property.
(Inherited from ItemsControlSelector.)
Public propertyStartTime
Gets or sets the start time.
Public propertyText
Gets or sets the Text. This is a dependency property.
(Inherited from ItemsControlSelector.)
Public propertyTextBinding
Gets or sets the TextBinding.
(Inherited from ItemsControlSelector.)
Public propertyTextPath
Gets or sets the TextPath. This is a dependency property.
(Inherited from ItemsControlSelector.)
Public propertyTextRetriever
Gets the text Retriever that is used for item search.
(Inherited from ItemsControlSelector.)
Public propertyTextSearchMode
Gets or sets the text search mode. Specifies how TextSearch will match items. This is a dependency property.
(Inherited from ListControl.)
Public propertyTimeInterval
Gets or sets the time interval.
Public propertyTypedText
Gets or sets the current typed text. This is a dependency property.
(Inherited from ListControl.)
Public propertyValueRetriever
Gets the value Retriever that is used for item search.
(Inherited from ItemsControlSelector.)
Top
Events
  NameDescription
Public eventSelectedTimeChanged
Occurs when the selected time was changed.
Public eventSelectionChanged
Occurs when the selection of a Selector changes.
(Inherited from ItemsControlSelector.)
Top
See Also