New to Telerik UI for WinFormsStart a free 30-day trial

Represents the main element that provides the time span picker functionality, serving as the core implementation for the RadTimeSpanPicker control with support for masked text input and popup-based editing.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class RadTimeSpanPickerElement : PopupEditorBaseElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IInputEditor, IValueEditor, ISupportInitialize, ITimeSpanPickerContentElementOwner

Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemRadEditorElementEditorBaseElementPopupEditorBaseElementRadTimeSpanPickerElement...

Implements: IBindableComponentIComponentICustomTypeDescriptorIDisposableIInputEditorINotifyPropertyChangedIShortcutProviderIStylableElementIStylableNodeISupportDragISupportDropISupportInitializeISupportSystemSkinITimeSpanPickerContentElementOwnerIValueEditor...

Inherited Members PopupEditorBaseElement.DisposePopupForm()PopupEditorBaseElement.DisposePopupFormCore(bool)PopupEditorBaseElement.WirePopupFormEvents(RadPopupControlBase)PopupEditorBaseElement.UnwirePopupFormEvents(RadPopupControlBase)PopupEditorBaseElement.TooglePopupState()PopupEditorBaseElement.ClosePopup()PopupEditorBaseElement.ClosePopup(RadPopupCloseReason)PopupEditorBaseElement.ShowPopup()PopupEditorBaseElement.ShowPopupCore(RadPopupControlBase)PopupEditorBaseElement.GetPopupLocation(RadPopupControlBase)PopupEditorBaseElement.ControlBoundingRectangleSize()PopupEditorBaseElement.UpdatePopupMinMaxSize(RadPopupControlBase)PopupEditorBaseElement.ApplyThemeToPopup(RadElementTree, RadPopupControlBase)PopupEditorBaseElement.ApplyThemeToPopup(RadPopupControlBase)PopupEditorBaseElement.CanDisplayPopup()PopupEditorBaseElement.GetPopupForm()PopupEditorBaseElement.OnPopupOpening(CancelEventArgs)PopupEditorBaseElement.OnPopupOpened(EventArgs)PopupEditorBaseElement.OnPopupClosed(RadPopupClosedEventArgs)PopupEditorBaseElement.OnEditorKeyDown(KeyEventArgs)PopupEditorBaseElement.OnMouseDown(MouseEventArgs)PopupEditorBaseElement.ProcessPopupTabKey(KeyEventArgs)PopupEditorBaseElement.OwnerOffsetPopupEditorBaseElement.IsPopupOpenPopupEditorBaseElement.EditorContainsFocusPopupEditorBaseElement.PopupOpenedPopupEditorBaseElement.PopupOpeningPopupEditorBaseElement.PopupClosingPopupEditorBaseElement.PopupClosedEditorBaseElement.EditorHandlerEditorBaseElement.originalValueEditorBaseElement.OnValidationError(ValidationErrorEventArgs)EditorBaseElement.OnValidationError(string)EditorBaseElement.OnKeyDown(KeyEventArgs)EditorBaseElement.OnKeyUp(KeyEventArgs)EditorBaseElement.OnTextChanging(TextChangingEventArgs)EditorBaseElement.OnTextChanged(EventArgs)EditorBaseElement.OnValidating(ValueChangingEventArgs)EditorBaseElement.OnValidated(EventArgs)EditorBaseElement.OnValueChanging(ValueChangingEventArgs)EditorBaseElement.OnValueChanged(EventArgs)EditorBaseElement.OnQueryValue(CancelEventArgs)EditorBaseElement.FindForm()EditorBaseElement.BeginInit()EditorBaseElement.EndInit()EditorBaseElement.ProcessKeyPress(KeyPressEventArgs)EditorBaseElement.ProcessKeyDown(KeyEventArgs)EditorBaseElement.ProcessKeyUp(KeyEventArgs)EditorBaseElement.ProcessMouseEnter(EventArgs)EditorBaseElement.ProcessMouseLeave(EventArgs)EditorBaseElement.ProcessMouseUp(MouseEventArgs)EditorBaseElement.ProcessMouseDown(MouseEventArgs)EditorBaseElement.ProcessMouseMove(MouseEventArgs)EditorBaseElement.ProcessMouseWheel(MouseEventArgs)EditorBaseElement.OnFormat(ConvertEventArgs)EditorBaseElement.OnParse(ConvertEventArgs)EditorBaseElement.FocusableElement()EditorBaseElement.Initialize()EditorBaseElement.Initialize(object)EditorBaseElement.Initialize(object, object)EditorBaseElement.BeginEdit()EditorBaseElement.EndEdit()EditorBaseElement.Validate()EditorBaseElement.ValidateCore()EditorBaseElement.CaptureMouse()EditorBaseElement.ReleaseMouseCapture()EditorBaseElement.NullValueEditorBaseElement.EditorTypeEditorBaseElement.IsModifiedEditorBaseElement.IsNestedEditorEditorBaseElement.DefaultValueEditorBaseElement.VisualModeEditorBaseElement.SupportedTypeEditorBaseElement.EditorManagerEditorBaseElement.FocusableEditorBaseElement.IsEnabledEditorBaseElement.IsMouseCapturedEditorBaseElement.QueryValueEditorBaseElement.ValidationErrorEditorBaseElement.ValidatingEditorBaseElement.ValidatedEditorBaseElement.ParseRadItem.KeyDownEventRadItem.KeyPressEventRadItem.KeyUpEventRadItem.FocusCommandRadItem.ActionCommandRadItem.UseDefaultDisabledPaintPropertyRadItem.TextPropertyRadItem.TextOrientationPropertyRadItem.FlipTextPropertyRadItem.IsAddNewItemPropertyRadItem.ToolTipTextPropertyRadItem.EnableElementShadowPropertyRadItem.ShadowDepthPropertyRadItem.ShadowColorPropertyRadItem.IsPaintingRippleRadItem.EnableRippleAnimationPropertyRadItem.RippleAnimationColorPropertyRadItem.EnableFocusBorderPropertyRadItem.FocusBorderColorPropertyRadItem.FocusBorderWidthPropertyRadItem.EnableFocusBorderAnimationPropertyRadItem.EnableHighlightPropertyRadItem.HighlightColorPropertyRadItem.EnableBorderHighlightPropertyRadItem.BorderHighlightColorPropertyRadItem.BorderHighlightThicknessPropertyRadItem.VisualStatePropertyRadItem.SetOwnerCollection(RadItemOwnerCollection)RadItem.Select()RadItem.OnSelect()RadItem.Deselect()RadItem.OnDeselect()RadItem.DoKeyDown(KeyEventArgs)RadItem.DoKeyPress(KeyPressEventArgs)RadItem.DoKeyUp(KeyEventArgs)RadItem.OnKeyPress(KeyPressEventArgs)RadItem.RaiseBubbleEvent(RadElement, RoutedEventArgs)RadItem.OnPropertyChanging(RadPropertyChangingEventArgs)RadItem.OnEnabledChanged(RadPropertyChangedEventArgs)RadItem.OnTextOrientationChanged(EventArgs)RadItem.OnFlipTextChanged(EventArgs)RadItem.PaintOverride(IGraphics, Rectangle, float, SizeF, bool)RadItem.OnMouseUp(MouseEventArgs)RadItem.OnMouseMove(MouseEventArgs)RadItem.OnMouseLeave(EventArgs)RadItem.StartRippleAnimation(MouseEventArgs)RadItem.UpdateFocusBorder(bool)RadItem.ContainsText()RadItem.ShouldSerializeProperty(PropertyDescriptor)RadItem.ProcessDialogKey(Keys)RadItem.ProcessCmdKey(ref Message, Keys)RadItem.RaiseKeyDown(KeyEventArgs)RadItem.RaiseKeyPress(KeyPressEventArgs)RadItem.RaiseKeyUp(KeyEventArgs)RadItem.ReplaceDefaultDescriptors(PropertyDescriptorCollection)RadItem.CallOnGesture(GestureEventArgs)RadItem.OnGesture(GestureEventArgs)RadItem.OnTwoFingerTapGesture(GestureEventArgs)RadItem.OnPressAndTapGesture(PressAndTapGestureEventArgs)RadItem.OnPanGesture(PanGestureEventArgs)RadItem.OnRotateGesture(RotateGestureEventArgs)RadItem.OnZoomGesture(ZoomGestureEventArgs)RadItem.CanDragCore(Point)RadItem.GetDragContextCore()RadItem.GetDragHintCore()RadItem.ProcessDragDrop(Point, ISupportDrag)RadItem.ProcessDragOver(Point, ISupportDrag)RadItem.ProcessDragEnter(Point, ISupportDrag)RadItem.ProcessDragLeave(Point, ISupportDrag)RadItem.UpdateOnShortcutsChanged()RadItem.CanHandleShortcut(ShortcutEventArgs)RadItem.IsOnActiveForm(Control, bool)RadItem.SetThemeValueOverride(RadProperty, object, string)RadItem.SetThemeValueOverride(RadProperty, object, string, string)RadItem.SetThemeValueOverride(RadProperty, object, string, Type)RadItem.ResetThemeValueOverride(RadProperty)RadItem.ResetThemeValueOverride(RadProperty, string)RadItem.ResetThemeValueOverrides()RadItem.GetAvailableVisualStates()RadItem.ShouldFallbackToDefaultTheme()RadItem.UseDefaultDisabledPaintRadItem.TextOrientationRadItem.FlipTextRadItem.CanHaveOwnStyleRadItem.TextRadItem.SelectableRadItem.DefaultAutoToolTipRadItem.ShouldHandleMouseInputRadItem.KeyTipRadItem.ParentItemRadItem.ShortcutsHandlerRadItem.EnableElementShadowRadItem.ShadowDepthRadItem.ShadowColorRadItem.EnableRippleAnimationRadItem.RippleAnimationColorRadItem.EnableFocusBorderRadItem.FocusBorderColorRadItem.FocusBorderWidthRadItem.EnableFocusBorderAnimationRadItem.EnableHighlightRadItem.HighlightColorRadItem.EnableBorderHighlightRadItem.BorderHighlightColorRadItem.BorderHighlightThicknessRadItem.MnemonicTextRadItem.ToolTipTextRadItem.ThemeRoleRadItem.VisualStateRadItem.StateManagerRadItem.AllowDragRadItem.AllowDropRadItem.ShortcutsRadItem.AccessibleDescriptionRadItem.AccessibleNameRadItem.AccessibleRoleRadItem.TextChangingRadItem.TextChangedRadItem.TextOrientationChangedRadItem.FlipTextChangedRadItem.QueryAccessibilityHelpRadItem.ZoomGestureRadItem.RotateGestureRadItem.PanGestureRadItem.TwoFingerTapGestureRadItem.PressAndTapGestureRadComponentElement.ToString()RadComponentElement.GetService(Type)RadComponentElement.CanRaiseEventsRadComponentElement.ContainerRadComponentElement.DesignModeRadComponentElement.SiteRadComponentElement.DataBindingsVisualElement.DefaultSizePropertyVisualElement.ForeColorPropertyVisualElement.BackColorPropertyVisualElement.FontPropertyVisualElement.SmoothingModePropertyVisualElement.OpacityPropertyVisualElement.CustomFontPropertyVisualElement.CustomFontSizePropertyVisualElement.CustomFontStylePropertyVisualElement.OnFontChanged(EventArgs)VisualElement.PaintElement(IGraphics, float, SizeF)VisualElement.PaintChildren(IGraphics, Rectangle, float, SizeF, bool)VisualElement.PrePaintElement(IGraphics)VisualElement.PostPaintElement(IGraphics)VisualElement.GetScaledFont(float)VisualElement.GetScaledFont(float, Font)VisualElement.DefaultSizeVisualElement.ForeColorVisualElement.BackColorVisualElement.FontVisualElement.CustomFontVisualElement.CustomFontSizeVisualElement.CustomFontStyleVisualElement.SmoothingModeVisualElement.OpacityVisualElement.FontChangedRadElement.BoundsPropertyRadElement.BorderThicknessPropertyRadElement.PaddingPropertyRadElement.MarginPropertyRadElement.AlignmentPropertyRadElement.AutoSizeModePropertyRadElement.FitToSizeModePropertyRadElement.MinSizePropertyRadElement.EnabledPropertyRadElement.CanFocusPropertyRadElement.IsItemFocusedPropertyRadElement.IsFocusedPropertyRadElement.IsMouseOverPropertyRadElement.IsMouseOverElementPropertyRadElement.IsMouseDownPropertyRadElement.ShouldPaintPropertyRadElement.VisibilityPropertyRadElement.NamePropertyRadElement.ClassPropertyRadElement.ClipDrawingPropertyRadElement.ShapePropertyRadElement.MouseClickedEventRadElement.MouseDoubleClickedEventRadElement.MouseDownEventRadElement.MouseUpEventRadElement.MouseWheelEventRadElement.ChildElementAddedEventRadElement.ParentChangedEventRadElement.BoundsChangedEventRadElement.VisibilityChangingEventRadElement.EnabledChangedEventRadElement.ControlChangedEventRadElement.BackgroundShapePropertyRadElement.BackgroundShapePaintModePropertyRadElement.ContainsFocusPropertyRadElement.ContainsMousePropertyRadElement.MaxSizePropertyRadElement.RightToLeftPropertyRadElement.AutoSizePropertyRadElement.ZIndexPropertyRadElement.AngleTransformPropertyRadElement.ScaleTransformPropertyRadElement.PositionOffsetPropertyRadElement.TagPropertyRadElement.StretchHorizontallyPropertyRadElement.StretchVerticallyPropertyRadElement.UseCompatibleTextRenderingPropertyRadElement.ClickModePropertyRadElement.styleVersionRadElement.paintSystemSkinRadElement.SetPropertyValueCommandRadElement.GetPropertyValueCommandRadElement.StylePropertyRadElement.CallCreateChildElements()RadElement.SuspendReferenceUpdate()RadElement.ResumeReferenceUpdate()RadElement.OnLoad(bool)RadElement.LoadCore()RadElement.OnUnload(ComponentThemableElementTree, bool)RadElement.UnloadCore(ComponentThemableElementTree)RadElement.OnUnloaded(ComponentThemableElementTree)RadElement.OnElementTreeChanged(ComponentThemableElementTree)RadElement.OnBeginDispose()RadElement.SetParent(RadElement)RadElement.OnParentChanged(RadElement)RadElement.UpdateReferences(ComponentThemableElementTree, bool, bool)RadElement.ResetLayout(bool)RadElement.HasInvisibleAncestor()RadElement.ResetLayoutCore()RadElement.InvalidateArrange()RadElement.InvalidateArrange(bool)RadElement.InvalidateMeasure()RadElement.InvalidateMeasure(bool)RadElement.UpdateLayout()RadElement.SuspendLayout()RadElement.SuspendLayout(bool)RadElement.ResumeLayout(bool)RadElement.ResumeLayout(bool, bool)RadElement.Arrange(RectangleF)RadElement.Measure(SizeF)RadElement.SetBounds(Rectangle)RadElement.SetBounds(int, int, int, int)RadElement.GetBoundingRectangle(Size)RadElement.GetBoundingRectangle(Rectangle)RadElement.GetDesiredSize(bool)RadElement.PointToScreen(Point)RadElement.PointFromScreen(Point)RadElement.PointToControl(Point)RadElement.PointFromControl(Point)RadElement.LocationToControl()RadElement.RectangleToScreen(Rectangle)RadElement.HitTest(Point)RadElement.OnRenderSizeChanged(SizeChangedInfo)RadElement.OnChildDesiredSizeChanged(RadElement)RadElement.OnLayoutPropertyChanged(RadPropertyChangedEventArgs)RadElement.ArrangeCore(RectangleF)RadElement.MeasureCore(SizeF)RadElement.ShouldArrangeChild(RadElement)RadElement.ArrangeOverride(SizeF)RadElement.ShouldMeasureChild(RadElement)RadElement.MeasureChildren(SizeF)RadElement.GetArrangeRect(RectangleF)RadElement.CanExecuteLayoutOperation()RadElement.CalcLayoutOffset(PointF)RadElement.LockBounds()RadElement.UnlockBounds()RadElement.SetBoundsCore(Rectangle)RadElement.IsInValidState(bool)RadElement.Invalidate()RadElement.Invalidate(bool)RadElement.GetInvalidateBounds()RadElement.NotifyInvalidate(RadElement)RadElement.OnTransformationInvalidated()RadElement.PerformLayoutTransformation(ref RadMatrix)RadElement.PerformPaintTransformation(ref RadMatrix)RadElement.IsInGetAsBitmap()RadElement.PaintElementSkin(IGraphics)RadElement.PaintBackgroundShape(IGraphics)RadElement.PostPaintChildren(IGraphics, Rectangle, float, SizeF)RadElement.PaintChild(RadElement, IGraphics, Rectangle, float, SizeF, bool)RadElement.PaintShadow(RadElement, IGraphics)RadElement.PaintShadowCore(Graphics, Rectangle, RadItem)RadElement.GetShadowRect(ref Rectangle, int)RadElement.PaintFocusCues(IGraphics, Rectangle)RadElement.GetAsBitmap(IGraphics, Brush, float, SizeF)RadElement.GetAsTransformedBitmap(IGraphics, Brush, float, SizeF)RadElement.GetAsTransformedBitmap(Brush, float, SizeF)RadElement.GetAsTransformedBitmap(Rectangle, Brush, float, SizeF)RadElement.GetAsBitmapEx(Color, float, SizeF)RadElement.GetAsBitmapEx(Brush, float, SizeF)RadElement.GetAsBitmap(Brush, float, SizeF)RadElement.IsInVisibleClipBounds(Rectangle)RadElement.SetClipping(Graphics)RadElement.GetClipRect()RadElement.ShouldPaintChild(RadElement)RadElement.GetFocusRect()RadElement.GetCurrentShape()RadElement.GetPaintRectangle(float, float, SizeF)RadElement.GetPatchedRect(RectangleF, float, SizeF)RadElement.GetXPVisualStyle()RadElement.GetVistaVisualStyle()RadElement.InitializeSystemSkinPaint()RadElement.UnitializeSystemSkinPaint()RadElement.GetSystemSkinPaintBounds()RadElement.OnUseSystemSkinChanged(EventArgs)RadElement.ShouldPaintSystemSkin()RadElement.ComposeShouldPaintSystemSkin()RadElement.GetStylablePropertiesFilter()RadElement.ResetStyleSettings(bool)RadElement.ResetStyleSettings(bool, RadProperty)RadElement.ProcessBehaviors(RadPropertyChangedEventArgs)RadElement.AddBehavior(PropertyChangeBehavior)RadElement.GetBehaviors()RadElement.RemoveBehavior(PropertyChangeBehavior)RadElement.ClearBehaviors()RadElement.AddRangeBehavior(PropertyChangeBehaviorCollection)RadElement.SetThemeApplied(bool)RadElement.OnStyleChanged(RadPropertyChangedEventArgs)RadElement.UnapplyStyle()RadElement.RemoveRangeBehaviors(PropertyChangeBehaviorCollection)RadElement.RemoveBehaviors(PropertyChangeBehavior)RadElement.RemoveRangeRoutedEventBehaviors(RoutedEventBehaviorCollection)RadElement.GetThemeEffectiveType()RadElement.GetChildrenByType(Type)RadElement.GetChildrenByBaseType(Type)RadElement.FindAncestorByThemeEffectiveType(Type)RadElement.FindAncestor<T>()RadElement.IsAncestorOf(RadElement)RadElement.FindDescendant<T>()RadElement.FindDescendant(Predicate<RadElement>)RadElement.FindDescendant(Type)RadElement.EnumDescendants(TreeTraversalMode)RadElement.EnumDescendants(Predicate<RadElement>, TreeTraversalMode)RadElement.EnumDescendants(Filter, TreeTraversalMode)RadElement.GetDescendants(Predicate<RadElement>, TreeTraversalMode)RadElement.GetDescendants(Filter, TreeTraversalMode)RadElement.GetAncestors(Filter)RadElement.GetAncestors(Predicate<RadElement>)RadElement.RaiseRoutedEvent(RadElement, RoutedEventArgs)RadElement.RaiseTunnelEvent(RadElement, RoutedEventArgs)RadElement.OnTunnelEvent(RadElement, RoutedEventArgs)RadElement.OnBubbleEvent(RadElement, RoutedEventArgs)RadElement.IsEventInProcess(RaisedRoutedEvent)RadElement.RegisterRoutedEvent(string, Type)RadElement.GetRegisterRoutedEvent(string, Type)RadElement.GetRegisterRoutedEvent(string, string)RadElement.GetRegisterRoutedEvent(string)RadElement.OnChildrenChanged(RadElement, ItemsChangeOperation)RadElement.GetChildren(ChildrenListOptions)RadElement.SendToBack()RadElement.BringToFront()RadElement.IsChildOf(RadElement)RadElement.Focus()RadElement.Focus(bool)RadElement.SetFocusPropertySafe(bool)RadElement.KillFocus()RadElement.OnCLREventsRise(RoutedEventArgs)RadElement.OnMouseHover(EventArgs)RadElement.OnParentEnabledChanged(RadPropertyChangedEventArgs)RadElement.OnLostMouseCapture(MouseEventArgs)RadElement.OnClick(EventArgs)RadElement.OnDoubleClick(EventArgs)RadElement.OnMouseEnter(EventArgs)RadElement.PerformClick()RadElement.OnMouseWheel(MouseEventArgs)RadElement.DoMouseWheel(MouseEventArgs)RadElement.DoClick(EventArgs)RadElement.DoDoubleClick(EventArgs)RadElement.IsInputKey(InputKeyEventArgs)RadElement.MouseEventArgsFromControl(MouseEventArgs)RadElement.DoMouseDown(MouseEventArgs)RadElement.DoMouseUp(MouseEventArgs)RadElement.DoMouseMove(MouseEventArgs)RadElement.ShowScreenTip(ScreenTipNeededEventArgs)RadElement.HideScreenTip()RadElement.DoMouseHover(EventArgs)RadElement.OnShowScreenTip(ComponentInputBehavior)RadElement.RaiseClick(EventArgs)RadElement.RaiseDoubleClick(EventArgs)RadElement.RaiseMouseWheel(MouseEventArgs)RadElement.UpdateContainsFocus(bool)RadElement.DoMouseEnter(EventArgs)RadElement.DoMouseLeave(EventArgs)RadElement.GetValue(RadProperty)RadElement.AddStylePropertySetting(IPropertySetting)RadElement.SetValueCore(RadPropertyValue, object, object, ValueSource)RadElement.NotifyChildren(RadPropertyChangedEventArgs)RadElement.OnBoundsChanged(RadPropertyChangedEventArgs)RadElement.OnLocationChanged(RadPropertyChangedEventArgs)RadElement.OnDisplayPropertyChanged(RadPropertyChangedEventArgs)RadElement.CanRaisePropertyChangeNotifications(RadPropertyValue)RadElement.IsPropertyCancelable(RadPropertyMetadata)RadElement.OnParentPropertyChanged(RadPropertyChangedEventArgs)RadElement.PerformDispose(bool)RadElement.DisposeChildren()RadElement.GetStylableChildrenHierarchy()RadElement.GetStylableChildren()RadElement.GetClientRectangle(SizeF)RadElement.GetBorderThickness(BorderPrimitive)RadElement.DpiScaleChanged(SizeF)RadElement.ElementStateRadElement.DesiredSizeRadElement.IsLayoutSuspendedRadElement.BoundingRectangleRadElement.ControlBoundingRectangleRadElement.BypassLayoutPoliciesRadElement.IsArrangeValidRadElement.IsMeasureValidRadElement.TreeLevelRadElement.TransformRadElement.TotalTransformRadElement.ShouldPaintUsingParentShapeRadElement.UseSystemSkinRadElement.PropagateStyleToChildrenRadElement.ElementTreeRadElement.ChildrenRadElement.ChildrenHierarchyRadElement.ParentRadElement.RoutedEventBehaviorsRadElement.LayoutableChildrenCountRadElement.ContainsFocusRadElement.NotifyParentOnMouseInputRadElement.IsAbleToRespondToMouseEventsRadElement.AutoSizeRadElement.BoundsRadElement.LocationRadElement.SizeRadElement.BorderThicknessRadElement.PaddingRadElement.MarginRadElement.AlignmentRadElement.AutoSizeModeRadElement.FitToSizeModeRadElement.EnabledRadElement.CanFocusRadElement.IsFocusedRadElement.IsMouseOverRadElement.IsMouseOverElementRadElement.IsMouseDownRadElement.InvalidateChildrenOnChildChangedRadElement.ShouldPaintRadElement.VisibilityRadElement.IsElementVisibleRadElement.NameRadElement.ClassRadElement.ClipDrawingRadElement.ShapeRadElement.MinSizeRadElement.MaxSizeRadElement.ZIndexRadElement.RightToLeftRadElement.UseCompatibleTextRenderingRadElement.BackgroundShapeRadElement.BackgroundShapePaintModeRadElement.ContainsMouseRadElement.CaptureRadElement.ScaleTransformRadElement.AngleTransformRadElement.PositionOffsetRadElement.SerializePropertiesRadElement.SerializeElementRadElement.SerializeChildrenRadElement.RenderingMaxFramerateRadElement.IsThemeAppliedRadElement.ShouldApplyThemeRadElement.UseCenteredAngleTransformRadElement.TagRadElement.StretchHorizontallyRadElement.StretchVerticallyRadElement.ClickModeRadElement.DoubleClickEnabledRadElement.CaptureOnMouseDownRadElement.IsItemHoveredRadElement.StyleRadElement.AutoToolTipRadElement.ScreenTipRadElement.AutoNumberKeyTipRadElement.DpiScaleFactorRadElement.LayoutUpdatedRadElement.MouseHoverRadElement.MouseMoveRadElement.MouseDownRadElement.DoubleClickRadElement.MouseEnterRadElement.EnabledChangedRadElement.MouseLeaveRadElement.ChildrenChangedRadElement.LostMouseCaptureRadObject.BindingContextPropertyRadObject.RadTypeRadObject.ClearPropertyStore()RadObject.SuspendPropertyNotifications()RadObject.ResumePropertyNotifications()RadObject.GetPropertyValue(RadProperty)RadObject.SetDefaultValueOverride(RadProperty, object)RadObject.SetValue(RadProperty, object)RadObject.ResetValue(RadProperty)RadObject.ResetLocalValue(RadProperty)RadObject.ResetValue(RadProperty, ValueResetFlags)RadObject.UpdateValue(RadProperty)RadObject.GetValueSource(RadProperty)RadObject.GetRegisteredRadProperty(string)RadObject.UpdateValueCore(RadPropertyValue)RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)RadObject.GetDefaultValue(RadPropertyValue, object)RadObject.CoerceValue(RadPropertyValue, object)RadObject.ShouldSerializeProperty(RadProperty)RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)RadObject.UnbindProperty(RadProperty)RadObject.GetInheritedValue(RadProperty)RadObject.OnNotifyPropertyChanged(string)RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)RadObject.PropertyValuesRadObject.PropertyFilterRadObject.RadObjectTypeRadObject.BindingContextRadObject.PropertyChangedRadObject.RadPropertyChangedRadObject.RadPropertyChangingDisposableObject.GetBitState(long)DisposableObject.SetBitState(long, bool)DisposableObject.OnBitStateChanged(long, bool, bool)DisposableObject.Dispose()DisposableObject.Dispose(bool)DisposableObject.DisposeUnmanagedResources()DisposableObject.BitStateDisposableObject.EventsDisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.DisposedDisposableObject.Disposing...

Constructors

Initializes a new instance of the RadTimeSpanPickerElement class with default settings.

C#
public RadTimeSpanPickerElement()

Fields

Identifies the PopupMinSize dependency property that specifies the minimum size constraints for the popup window.

C#
public static RadProperty PopupMinSizeProperty

Properties

Gets or sets the culture information used for formatting and parsing time span values. This affects how time components are displayed and interpreted based on regional settings.

C#
public CultureInfo Culture { get; set; }

Implements: ITimeSpanPickerContentElementOwner.Culture

Gets or sets the increment step for the days component when modifying time span values using spin buttons or keyboard navigation.

C#
public int DaysStep { get; set; }

Gets the button element used to decrease time span component values.

C#
public RadRepeatArrowElement DownButton { get; }

Gets or sets a value indicating whether the popup displays with animation effects when opening and closing.

C#
public bool DropDownAnimationEnabled { get; set; }

Gets the dropdown button element that opens the time span selection popup when clicked.

C#
public RadTimeDropDownButtonElement DropDownButton { get; }

Gets or sets the edit mode that determines how users can interact with the control to modify time span values. This property controls whether editing is done through text input, popup interface, or both.

C#
public TimeSpanEditMode EditMode { get; set; }

Gets or sets the editor element reference. This property is hidden from serialization to prevent stack overflow exceptions

C#
public override RadItem EditorElement { get; set; }

Overrides: EditorBaseElement.EditorElement

Gets or sets a value indicating whether users can set the time span value to null using keyboard shortcuts. When enabled, users can press Ctrl+Del or Ctrl+0 to clear the current value.

C#
public virtual bool EnableNullValueInput { get; set; }

Gets or sets the format string that determines how time span values are displayed and parsed in the text input. The format string controls which time components are shown and their formatting patterns.

C#
public string Format { get; set; }

Implements: ITimeSpanPickerContentElementOwner.Format

Gets or sets the increment step for the hours component when modifying time span values using spin buttons or keyboard navigation.

C#
public int HoursStep { get; set; }

Gets the masked edit box element that provides text input functionality with time span validation and formatting.

C#
public virtual RadMaskedEditBoxElement MaskedEditBox { get; }

Gets or sets the maximumvalue that can be selected in the control. Values above this maximum will not be accepted or displayed.

C#
public TimeSpan MaxValue { get; set; }

Gets or sets the increment step for the milliseconds component when modifying time span values using spin buttons or keyboard navigation.

C#
public int MillisecondsStep { get; set; }

Gets or sets the increment step for the minutes component when modifying time span values using spin buttons or keyboard navigation.

C#
public int MinutesStep { get; set; }

Gets or sets the minimumvalue that can be selected in the control. Values below this minimum will not be accepted or displayed.

C#
public TimeSpan MinValue { get; set; }

Gets or sets the placeholder text displayed when the control has no time span value set. This text provides guidance to users about the expected input format.

C#
public string NullText { get; set; }

Gets the popup content element that provides the interactive time span selection interface within the popup.

C#
public virtual ITimeSpanPickerContentElement PopupContentElement { get; }

Gets the popup form that contains the time span selection interface.

C#
public RadTimeSpanPickerPopup PopupForm { get; }

Gets or sets the minimum size constraints for the popup window that contains the time span selection interface.

C#
public Size PopupMinSize { get; set; }

Gets or sets a value indicating whether the control is in read-only mode. When true, users cannot modify the time span value through either text input or popup interaction.

C#
[Browsable(false)]
public bool ReadOnly { get; set; }

Gets or sets the increment step for the seconds component when modifying time span values using spin buttons or keyboard navigation.

C#
public int SecondsStep { get; set; }

Gets or sets a value indicating whether the dropdown button that opens the popup is visible and accessible to users.

C#
public bool ShowDropDownButton { get; set; }

Gets or sets a value indicating whether the spin buttons for incrementing and decrementing time span components are visible. When enabled, users can use up/down buttons to modify the selected time component.

C#
public bool ShowSpinButtons { get; set; }

Gets the stack layout element that serves as a container for the spin buttons (up and down arrows).

C#
public StackLayoutElement SpinButtonsStackLayout { get; }

Gets or sets the text alignment of within the masked edit box.

C#
public HorizontalAlignment TextAlign { get; set; }

Gets the type used for theming this element, allowing it to inherit styles from RadTimePickerElement.

C#
protected override Type ThemeEffectiveType { get; }

Overrides: RadElement.ThemeEffectiveType

Gets the mask provider that manages time span formatting and editing behavior for the masked edit box. This provider controls how editing is performed for each time component (days, hours, minutes, seconds, milliseconds).

C#
public MaskTimeSpanProvider TimeSpanProvider { get; }

Implements: ITimeSpanPickerContentElementOwner.TimeSpanProvider

Gets the increment button element used to increase time span component values.

C#
public RadRepeatArrowElement UpButton { get; }

Gets or sets the value of the RadTimeSpanPickerElement. The value can be null if no time span is selected or if null input is enabled.

C#
public override object Value { get; set; }

Overrides: EditorBaseElement.Value

Implements: ITimeSpanPickerContentElementOwner.Value

Methods

Closes the popup window when called by the popup content element.

C#
public void CloseOwnerPopup()

Implements: ITimeSpanPickerContentElementOwner.CloseOwnerPopup()

Creates the stack layout element that serves as a container for the up and down arrow buttons.

C#
protected virtual StackLayoutElement CreateButtonsStack()
Returns:

StackLayoutElement

A new instance of StackLayoutElement configured for vertical button arrangement.

Creates and initializes all child elements including the masked edit box, dropdown button, spin buttons, and layout containers.

C#
protected override void CreateChildElements()

Overrides: RadElement.CreateChildElements()

Creates the decrement button element used to decrease time span component values.

C#
protected virtual RadRepeatArrowElement CreateDownButton()
Returns:

RadRepeatArrowElement

A RadRepeatArrowElement configured as a down arrow button.

Creates the dropdown button element that opens the time span selection popup when clicked.

C#
protected virtual RadTimeDropDownButtonElement CreateDropDownButtonElement()
Returns:

RadTimeDropDownButtonElement

A new instance of RadTimeDropDownButtonElement.

Creates the masked edit box element that provides text input functionality with time span validation and formatting.

C#
protected virtual RadMaskedEditBoxElement CreateMaskedEditBoxElement()
Returns:

RadMaskedEditBoxElement

A new instance of RadMaskedEditBoxElement configured for time span input.

Creates the popup form instance that contains the time span selection interface. Override this method to provide a popup with specialized content for time span selection.

C#
protected override RadPopupControlBase CreatePopupForm()
Returns:

RadPopupControlBase

A new instance of RadTimeSpanPickerPopup configured for this element.

Overrides: PopupEditorBaseElement.CreatePopupForm()

Creates the increment button element used to increase time span component values.

C#
protected virtual RadRepeatArrowElement CreateUpButton()
Returns:

RadRepeatArrowElement

A RadRepeatArrowElement configured as an up arrow button.

Releases managed resources by unsubscribing from events and disposing child elements.

C#
protected override void DisposeManagedResources()

Overrides: PopupEditorBaseElement.DisposeManagedResources()

Gets the initial size for the popup when it's first displayed, providing a large default that will be adjusted based on content.

C#
protected override Size GetInitialPopupSize()
Returns:

Size

A Size representing the initial popup dimensions.

Overrides: PopupEditorBaseElement.GetInitialPopupSize()

Calculates and returns the optimal size for the popup based on its content and minimum size constraints.

C#
protected override Size GetPopupSize(RadPopupControlBase popup, bool measure)
Parameters:popupRadPopupControlBase

The popup control to calculate size for.

measurebool

Indicates whether to perform measurement calculations.

Returns:

Size

A Size representing the calculated popup dimensions.

Overrides: PopupEditorBaseElement.GetPopupSize(RadPopupControlBase, bool)

Initializes the default field values for the time span picker element.

C#
protected override void InitializeFields()

Overrides: EditorBaseElement.InitializeFields()

Handles the click event from the masked edit box and forwards it to subscribers.

C#
protected virtual void MaskEditBox_Click(object sender, EventArgs e)
Parameters:senderobject

The source of the event.

eEventArgs

Event data.

Handles the key down event from the masked edit box and forwards it to subscribers.

C#
protected virtual void MaskEditBox_KeyDown(object sender, KeyEventArgs e)
Parameters:senderobject

The source of the event.

eKeyEventArgs

Event data containing key information.

Handles the key press event from the masked edit box and forwards it to subscribers.

C#
protected virtual void MaskEditBox_KeyPress(object sender, KeyPressEventArgs e)
Parameters:senderobject

The source of the event.

eKeyPressEventArgs

Event data containing key press information.

Handles the mouse up event from the masked edit box and forwards it to subscribers.

C#
protected virtual void MaskEditBox_MouseUp(object sender, MouseEventArgs e)
Parameters:senderobject

The source of the event.

eMouseEventArgs

Event data containing mouse information.

Handles the mouse wheel event from the masked edit box and forwards it to subscribers.

C#
protected virtual void MaskEditBox_MouseWheel(object sender, MouseEventArgs e)
Parameters:senderobject

The source of the event.

eMouseEventArgs

Event data containing mouse wheel information.

Measures the desired size of the element within the available space, ensuring proper layout constraints are respected.

C#
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters:availableSizeSizeF

The available space for the element.

Returns:

SizeF

The desired size of the element.

Overrides: RadElement.MeasureOverride(SizeF)

Handles the element loaded event to configure the masked edit box border visibility.

C#
protected override void OnLoaded()

Overrides: RadElement.OnLoaded()

Handles the popup closed event to update element states and clear popup content selection.

C#
protected virtual void OnPopupClosed(object sender, RadPopupClosedEventArgs args)
Parameters:senderobject

The source of the event.

argsRadPopupClosedEventArgs

Event data for the popup closed event.

Handles the popup closing event and prevents premature closure when the mouse is over the dropdown button.

C#
protected override void OnPopupClosing(RadPopupClosingEventArgs e)
Parameters:eRadPopupClosingEventArgs

Event data containing close reason and cancellation information.

Overrides: PopupEditorBaseElement.OnPopupClosing(RadPopupClosingEventArgs)

Handles the popup opened event to update element states and set focus to the popup form.

C#
protected virtual void OnPopupOpened(object sender, EventArgs e)
Parameters:senderobject

The source of the event.

eEventArgs

Event data.

Handles property change events and updates RTL support for child elements when the RightToLeft property changes.

C#
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters:eRadPropertyChangedEventArgs

Event data containing property change information.

Overrides: PopupEditorBaseElement.OnPropertyChanged(RadPropertyChangedEventArgs)

Handles the value changed event from the masked edit box, tracks analytics, and forwards the event to subscribers.

C#
protected virtual void OnValueChanged(object sender, EventArgs e)
Parameters:senderobject

The source of the event.

eEventArgs

Event data.

Handles the value changing event from the masked edit box and forwards it to subscribers.

C#
protected virtual void OnValueChanging(object sender, CancelEventArgs e)
Parameters:senderobject

The source of the event.

eCancelEventArgs

Event data containing cancellation information.

Configures the element's behavior based on the specified edit mode, controlling text box read-only state and button visibility.

C#
protected virtual void SetupEditMode(TimeSpanEditMode timeSpanEditMode)
Parameters:timeSpanEditModeTimeSpanEditMode

The edit mode to apply to the element.

Unsubscribes from all previously subscribed events to prevent memory leaks and unwanted event handling.

C#
protected virtual void UnwireEvents()

Updates the localization strings used in the popup content to reflect the current localization provider settings.

C#
protected virtual void UpdatePopupLocalizationStrings()

Subscribes to necessary events from child elements and external providers to coordinate element behavior.

C#
protected virtual void WireEvents()

Events

Occurs when the element is clicked.

C#
public event EventHandler Click

Occurs when the user presses a key while the element has focus.

C#
public event KeyEventHandler KeyDown

Occurs when the user presses and releases a key while the element has focus.

C#
public event KeyPressEventHandler KeyPress

Occurs when the user releases a key while the element has focus.

C#
public event KeyEventHandler KeyUp

Occurs when the user releases a mouse button while the mouse pointer is over the element.

C#
public event MouseEventHandler MouseUp

Occurs when the mouse wheel moves while the element has focus.

C#
public event MouseEventHandler MouseWheel

Occurs when the time span value has been successfully changed.

C#
public event EventHandler ValueChanged

Occurs when the time span value is about to be changed and allows the operation to be canceled.

C#
public event CancelEventHandler ValueChanging