Class
RadTimeSpanPickerElement

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:

cs-api-definition
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

RadTimeSpanPickerElement()

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

Declaration

cs-api-definition
public RadTimeSpanPickerElement()

Fields

PopupMinSizeProperty

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

Declaration

cs-api-definition
public static RadProperty PopupMinSizeProperty

Field Value

RadProperty

Properties

Culture

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.

Declaration

cs-api-definition
public CultureInfo Culture { get; set; }

Property Value

CultureInfo

Implements ITimeSpanPickerContentElementOwner.Culture

DaysStep

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

Declaration

cs-api-definition
public int DaysStep { get; set; }

Property Value

int

DownButton

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

Declaration

cs-api-definition
public RadRepeatArrowElement DownButton { get; }

Property Value

RadRepeatArrowElement

DropDownAnimationEnabled

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

Declaration

cs-api-definition
public bool DropDownAnimationEnabled { get; set; }

Property Value

bool

DropDownButton

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

Declaration

cs-api-definition
public RadTimeDropDownButtonElement DropDownButton { get; }

Property Value

RadTimeDropDownButtonElement

EditMode

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.

Declaration

cs-api-definition
public TimeSpanEditMode EditMode { get; set; }

Property Value

TimeSpanEditMode

EditorElement

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

Declaration

cs-api-definition
public override RadItem EditorElement { get; set; }

Property Value

RadItem

Overrides EditorBaseElement.EditorElement

EnableNullValueInput

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.

Declaration

cs-api-definition
public virtual bool EnableNullValueInput { get; set; }

Property Value

bool

Format

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.

Declaration

cs-api-definition
public string Format { get; set; }

Property Value

string

Implements ITimeSpanPickerContentElementOwner.Format

HoursStep

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

Declaration

cs-api-definition
public int HoursStep { get; set; }

Property Value

int

MaskedEditBox

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

Declaration

cs-api-definition
public virtual RadMaskedEditBoxElement MaskedEditBox { get; }

Property Value

RadMaskedEditBoxElement

MaxValue

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

Declaration

cs-api-definition
public TimeSpan MaxValue { get; set; }

Property Value

TimeSpan

MillisecondsStep

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

Declaration

cs-api-definition
public int MillisecondsStep { get; set; }

Property Value

int

MinValue

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

Declaration

cs-api-definition
public TimeSpan MinValue { get; set; }

Property Value

TimeSpan

MinutesStep

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

Declaration

cs-api-definition
public int MinutesStep { get; set; }

Property Value

int

NullText

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.

Declaration

cs-api-definition
public string NullText { get; set; }

Property Value

string

PopupContentElement

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

Declaration

cs-api-definition
public virtual ITimeSpanPickerContentElement PopupContentElement { get; }

Property Value

ITimeSpanPickerContentElement

PopupForm

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

Declaration

cs-api-definition
public RadTimeSpanPickerPopup PopupForm { get; }

Property Value

RadTimeSpanPickerPopup

PopupMinSize

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

Declaration

cs-api-definition
public Size PopupMinSize { get; set; }

Property Value

Size

ReadOnly

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.

Declaration

cs-api-definition
[Browsable(false)]
public bool ReadOnly { get; set; }

Property Value

bool

SecondsStep

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

Declaration

cs-api-definition
public int SecondsStep { get; set; }

Property Value

int

ShowDropDownButton

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

Declaration

cs-api-definition
public bool ShowDropDownButton { get; set; }

Property Value

bool

ShowSpinButtons

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.

Declaration

cs-api-definition
public bool ShowSpinButtons { get; set; }

Property Value

bool

SpinButtonsStackLayout

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

Declaration

cs-api-definition
public StackLayoutElement SpinButtonsStackLayout { get; }

Property Value

StackLayoutElement

TextAlign

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

Declaration

cs-api-definition
public HorizontalAlignment TextAlign { get; set; }

Property Value

HorizontalAlignment

ThemeEffectiveType

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

Declaration

cs-api-definition
protected override Type ThemeEffectiveType { get; }

Property Value

Type

Overrides RadElement.ThemeEffectiveType

TimeSpanProvider

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).

Declaration

cs-api-definition
public MaskTimeSpanProvider TimeSpanProvider { get; }

Property Value

MaskTimeSpanProvider

Implements ITimeSpanPickerContentElementOwner.TimeSpanProvider

UpButton

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

Declaration

cs-api-definition
public RadRepeatArrowElement UpButton { get; }

Property Value

RadRepeatArrowElement

Value

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.

Declaration

cs-api-definition
public override object Value { get; set; }

Property Value

object

Overrides EditorBaseElement.Value

Implements ITimeSpanPickerContentElementOwner.Value

Methods

CloseOwnerPopup()

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

Declaration

cs-api-definition
public void CloseOwnerPopup()

Implements ITimeSpanPickerContentElementOwner.CloseOwnerPopup()

CreateButtonsStack()

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

Declaration

cs-api-definition
protected virtual StackLayoutElement CreateButtonsStack()

Returns

StackLayoutElement

A new instance of StackLayoutElement configured for vertical button arrangement.

CreateChildElements()

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

Declaration

cs-api-definition
protected override void CreateChildElements()

Overrides RadElement.CreateChildElements()

CreateDownButton()

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

Declaration

cs-api-definition
protected virtual RadRepeatArrowElement CreateDownButton()

Returns

RadRepeatArrowElement

A RadRepeatArrowElement configured as a down arrow button.

CreateDropDownButtonElement()

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

Declaration

cs-api-definition
protected virtual RadTimeDropDownButtonElement CreateDropDownButtonElement()

Returns

RadTimeDropDownButtonElement

A new instance of RadTimeDropDownButtonElement.

CreateMaskedEditBoxElement()

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

Declaration

cs-api-definition
protected virtual RadMaskedEditBoxElement CreateMaskedEditBoxElement()

Returns

RadMaskedEditBoxElement

A new instance of RadMaskedEditBoxElement configured for time span input.

CreatePopupForm()

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.

Declaration

cs-api-definition
protected override RadPopupControlBase CreatePopupForm()

Returns

RadPopupControlBase

A new instance of RadTimeSpanPickerPopup configured for this element.

Overrides PopupEditorBaseElement.CreatePopupForm()

CreateUpButton()

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

Declaration

cs-api-definition
protected virtual RadRepeatArrowElement CreateUpButton()

Returns

RadRepeatArrowElement

A RadRepeatArrowElement configured as an up arrow button.

DisposeManagedResources()

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

Declaration

cs-api-definition
protected override void DisposeManagedResources()

Overrides PopupEditorBaseElement.DisposeManagedResources()

GetInitialPopupSize()

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

Declaration

cs-api-definition
protected override Size GetInitialPopupSize()

Returns

Size

A Size representing the initial popup dimensions.

Overrides PopupEditorBaseElement.GetInitialPopupSize()

GetPopupSize(RadPopupControlBase, bool)

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

Declaration

cs-api-definition
protected override Size GetPopupSize(RadPopupControlBase popup, bool measure)

Parameters

popup

RadPopupControlBase

The popup control to calculate size for.

measure

bool

Indicates whether to perform measurement calculations.

Returns

Size

A Size representing the calculated popup dimensions.

Overrides PopupEditorBaseElement.GetPopupSize(RadPopupControlBase, bool)

InitializeFields()

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

Declaration

cs-api-definition
protected override void InitializeFields()

Overrides EditorBaseElement.InitializeFields()

MaskEditBox_Click(object, EventArgs)

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

Declaration

cs-api-definition
protected virtual void MaskEditBox_Click(object sender, EventArgs e)

Parameters

sender

object

The source of the event.

e

EventArgs

Event data.

MaskEditBox_KeyDown(object, KeyEventArgs)

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

Declaration

cs-api-definition
protected virtual void MaskEditBox_KeyDown(object sender, KeyEventArgs e)

Parameters

sender

object

The source of the event.

e

KeyEventArgs

Event data containing key information.

MaskEditBox_KeyPress(object, KeyPressEventArgs)

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

Declaration

cs-api-definition
protected virtual void MaskEditBox_KeyPress(object sender, KeyPressEventArgs e)

Parameters

sender

object

The source of the event.

e

KeyPressEventArgs

Event data containing key press information.

MaskEditBox_MouseUp(object, MouseEventArgs)

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

Declaration

cs-api-definition
protected virtual void MaskEditBox_MouseUp(object sender, MouseEventArgs e)

Parameters

sender

object

The source of the event.

e

MouseEventArgs

Event data containing mouse information.

MaskEditBox_MouseWheel(object, MouseEventArgs)

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

Declaration

cs-api-definition
protected virtual void MaskEditBox_MouseWheel(object sender, MouseEventArgs e)

Parameters

sender

object

The source of the event.

e

MouseEventArgs

Event data containing mouse wheel information.

MeasureOverride(SizeF)

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

Declaration

cs-api-definition
protected override SizeF MeasureOverride(SizeF availableSize)

Parameters

availableSize

SizeF

The available space for the element.

Returns

SizeF

The desired size of the element.

Overrides RadElement.MeasureOverride(SizeF)

OnLoaded()

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

Declaration

cs-api-definition
protected override void OnLoaded()

Overrides RadElement.OnLoaded()

OnPopupClosed(object, RadPopupClosedEventArgs)

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

Declaration

cs-api-definition
protected virtual void OnPopupClosed(object sender, RadPopupClosedEventArgs args)

Parameters

sender

object

The source of the event.

args

RadPopupClosedEventArgs

Event data for the popup closed event.

OnPopupClosing(RadPopupClosingEventArgs)

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

Declaration

cs-api-definition
protected override void OnPopupClosing(RadPopupClosingEventArgs e)

Parameters

e

RadPopupClosingEventArgs

Event data containing close reason and cancellation information.

Overrides PopupEditorBaseElement.OnPopupClosing(RadPopupClosingEventArgs)

OnPopupOpened(object, EventArgs)

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

Declaration

cs-api-definition
protected virtual void OnPopupOpened(object sender, EventArgs e)

Parameters

sender

object

The source of the event.

e

EventArgs

Event data.

OnPropertyChanged(RadPropertyChangedEventArgs)

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

Declaration

cs-api-definition
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)

Parameters

e

RadPropertyChangedEventArgs

Event data containing property change information.

Overrides PopupEditorBaseElement.OnPropertyChanged(RadPropertyChangedEventArgs)

OnValueChanged(object, EventArgs)

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

Declaration

cs-api-definition
protected virtual void OnValueChanged(object sender, EventArgs e)

Parameters

sender

object

The source of the event.

e

EventArgs

Event data.

OnValueChanging(object, CancelEventArgs)

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

Declaration

cs-api-definition
protected virtual void OnValueChanging(object sender, CancelEventArgs e)

Parameters

sender

object

The source of the event.

e

CancelEventArgs

Event data containing cancellation information.

SetupEditMode(TimeSpanEditMode)

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

Declaration

cs-api-definition
protected virtual void SetupEditMode(TimeSpanEditMode timeSpanEditMode)

Parameters

timeSpanEditMode

TimeSpanEditMode

The edit mode to apply to the element.

UnwireEvents()

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

Declaration

cs-api-definition
protected virtual void UnwireEvents()

UpdatePopupLocalizationStrings()

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

Declaration

cs-api-definition
protected virtual void UpdatePopupLocalizationStrings()

WireEvents()

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

Declaration

cs-api-definition
protected virtual void WireEvents()

Events

Click

Occurs when the element is clicked.

Declaration

cs-api-definition
public event EventHandler Click

Event Value

EventHandler

KeyDown

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

Declaration

cs-api-definition
public event KeyEventHandler KeyDown

Event Value

KeyEventHandler

KeyPress

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

Declaration

cs-api-definition
public event KeyPressEventHandler KeyPress

Event Value

KeyPressEventHandler

KeyUp

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

Declaration

cs-api-definition
public event KeyEventHandler KeyUp

Event Value

KeyEventHandler

MouseUp

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

Declaration

cs-api-definition
public event MouseEventHandler MouseUp

Event Value

MouseEventHandler

MouseWheel

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

Declaration

cs-api-definition
public event MouseEventHandler MouseWheel

Event Value

MouseEventHandler

ValueChanged

Occurs when the time span value has been successfully changed.

Declaration

cs-api-definition
public event EventHandler ValueChanged

Event Value

EventHandler

ValueChanging

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

Declaration

cs-api-definition
public event CancelEventHandler ValueChanging

Event Value

CancelEventHandler