Class RadTimeSpanPickerElement
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadTimeSpanPickerElement : PopupEditorBaseElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IInputEditor, IValueEditor, ISupportInitialize, ITimeSpanPickerContentElementOwner
Constructors
RadTimeSpanPickerElement()
Declaration
public RadTimeSpanPickerElement()
Fields
PopupMinSizeProperty
Properties
Culture
Gets or sets the culture.
Declaration
public CultureInfo Culture { get; set; }
Property Value
System.Globalization.CultureInfo
|
Implements
DaysStep
Gets or sets the days step used when modifying the value.
Declaration
public int DaysStep { get; set; }
Property Value
System.Int32
|
DownButton
Gets down button.
Declaration
public RadRepeatArrowElement DownButton { get; }
Property Value
RadRepeatArrowElement
Down button. |
DropDownAnimationEnabled
Gets or sets a value indicating whether the RadDropDownList will be animated when displaying.
Declaration
public bool DropDownAnimationEnabled { get; set; }
Property Value
System.Boolean
|
DropDownButton
Gets the RadTimeDropDownButtonElement used to open the pop-up.
Declaration
public RadTimeDropDownButtonElement DropDownButton { get; }
Property Value
RadTimeDropDownButtonElement
|
EditMode
Gets or sets a value indicating how the users will edit the TimeSpan value.
Declaration
public TimeSpanEditMode EditMode { get; set; }
Property Value
TimeSpanEditMode
|
EditorElement
EnableNullValueInput
Gets or set a value indicating whether end users can set the value to NULL. This can be achieved by pressing Ctrl + Del or Ctrl + 0 key combinations.
Declaration
public virtual bool EnableNullValueInput { get; set; }
Property Value
System.Boolean
|
Format
Gets or sets the format string.
Declaration
public string Format { get; set; }
Property Value
System.String
|
Implements
HoursStep
Gets or sets the hours step used when modifying the value.
Declaration
public int HoursStep { get; set; }
Property Value
System.Int32
|
MaskedEditBox
Gets the RadMaskedEditBoxElement.
Declaration
public virtual RadMaskedEditBoxElement MaskedEditBox { get; }
Property Value
RadMaskedEditBoxElement
|
MaxValue
Gets or sets the max value.
Declaration
public TimeSpan MaxValue { get; set; }
Property Value
System.TimeSpan
|
MillisecondsStep
Gets or sets the milliseconds step used when modifying the value.
Declaration
public int MillisecondsStep { get; set; }
Property Value
System.Int32
|
MinutesStep
Gets or sets the minutes step used when modifying the value.
Declaration
public int MinutesStep { get; set; }
Property Value
System.Int32
|
MinValue
Gets or sets the min value.
Declaration
public TimeSpan MinValue { get; set; }
Property Value
System.TimeSpan
|
NullText
Gets or sets the text that is displayed when RadDropDownList has no text set.
Declaration
[RadDefaultValue("NullText", typeof(RadTextBoxItem))]
[RadDescription("NullText", typeof(RadTextBoxItem))]
public string NullText { get; set; }
Property Value
System.String
|
PopupContentElement
Gets the ITimeSpanPickerContentElement. Represents the element of the pop-up.
Declaration
public virtual ITimeSpanPickerContentElement PopupContentElement { get; }
Property Value
ITimeSpanPickerContentElement
|
PopupForm
Gets the pop-up form.
Declaration
public RadTimeSpanPickerPopup PopupForm { get; }
Property Value
RadTimeSpanPickerPopup
The pop-up form. |
PopupMinSize
Gets or sets the minimum size of pop-up form.
Declaration
public Size PopupMinSize { get; set; }
Property Value
System.Drawing.Size
The pop-up form. |
ReadOnly
Enables or disables the ReadOnly mode of RadTimeSpanPicker. The default value is false.
Declaration
public bool ReadOnly { get; set; }
Property Value
System.Boolean
|
SecondsStep
Gets or sets the seconds step used when modifying the value.
Declaration
public int SecondsStep { get; set; }
Property Value
System.Int32
|
ShowDropDownButton
Gets or sets a value indicating whether the drop down button will be shown.
Declaration
public bool ShowDropDownButton { get; set; }
Property Value
System.Boolean
|
ShowSpinButtons
Gets or sets a value indicating whether the spin buttons will be shown.
Declaration
public bool ShowSpinButtons { get; set; }
Property Value
System.Boolean
|
SpinButtonsStackLayout
Gets the spin buttons stack layout.
Declaration
public StackLayoutElement SpinButtonsStackLayout { get; }
Property Value
StackLayoutElement
The spin buttons stack layout. |
TextAlign
Gets or sets the horizontal alignment of the text.
Declaration
public HorizontalAlignment TextAlign { get; set; }
Property Value
System.Windows.Forms.HorizontalAlignment
|
ThemeEffectiveType
Gets the theme effective type.
Declaration
protected override Type ThemeEffectiveType { get; }
Property Value
System.Type
|
Overrides
TimeSpanProvider
Gets the provider of hosted MaskedEditBoxElement. This provider is used to format the value and controls how editing is performed in each part(days, hours, minutes, seconds and milliseconds) of selected Format.
Declaration
public MaskTimeSpanProvider TimeSpanProvider { get; }
Property Value
MaskTimeSpanProvider
|
Implements
UpButton
Gets up button.
Declaration
public RadRepeatArrowElement UpButton { get; }
Property Value
RadRepeatArrowElement
|
Value
Gets or sets the value of RadTimeSpanPickerElement
Declaration
public override object Value { get; set; }
Property Value
System.Object
|
Overrides
Implements
Methods
CloseOwnerPopup()
Declaration
public void CloseOwnerPopup()
Implements
CreateButtonsStack()
Creates the StackLayoutElement that holds up and down arrow buttons.
Declaration
protected virtual StackLayoutElement CreateButtonsStack()
Returns
StackLayoutElement
|
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
CreateDownButton()
Creates the button element for the decrement button.
Declaration
protected virtual RadRepeatArrowElement CreateDownButton()
Returns
RadRepeatArrowElement
A RadRepeatArrowElement to be placed in the RadSpinElement. |
CreateDropDownButtonElement()
Creates the drop down button element.
Declaration
protected virtual RadTimeDropDownButtonElement CreateDropDownButtonElement()
Returns
RadTimeDropDownButtonElement
|
CreateMaskedEditBoxElement()
Creates the masked edit box element.
Declaration
protected virtual RadMaskedEditBoxElement CreateMaskedEditBoxElement()
Returns
RadMaskedEditBoxElement
|
CreatePopupForm()
Creates the pop-up instance. You have to override this method in order to provide a pop-up that is specialized by its content.
Declaration
protected override RadPopupControlBase CreatePopupForm()
Returns
RadPopupControlBase
|
Overrides
CreateUpButton()
Creates the button element for the increment button.
Declaration
protected virtual RadRepeatArrowElement CreateUpButton()
Returns
RadRepeatArrowElement
A RadRepeatArrowElement to be placed in the RadSpinElement. |
DisposeManagedResources()
Disposes the managed resources.
Declaration
protected override void DisposeManagedResources()
Overrides
GetInitialPopupSize()
Declaration
protected override Size GetInitialPopupSize()
Returns
System.Drawing.Size
|
Overrides
GetPopupSize(RadPopupControlBase, Boolean)
Declaration
protected override Size GetPopupSize(RadPopupControlBase popup, bool measure)
Parameters
RadPopupControlBase
popup
|
System.Boolean
measure
|
Returns
System.Drawing.Size
|
Overrides
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
MaskEditBox_Click(Object, EventArgs)
Declaration
protected virtual void MaskEditBox_Click(object sender, EventArgs e)
Parameters
System.Object
sender
|
System.EventArgs
e
|
MaskEditBox_KeyDown(Object, KeyEventArgs)
Declaration
protected virtual void MaskEditBox_KeyDown(object sender, KeyEventArgs e)
Parameters
System.Object
sender
|
System.Windows.Forms.KeyEventArgs
e
|
MaskEditBox_KeyPress(Object, KeyPressEventArgs)
Declaration
protected virtual void MaskEditBox_KeyPress(object sender, KeyPressEventArgs e)
Parameters
System.Object
sender
|
System.Windows.Forms.KeyPressEventArgs
e
|
MaskEditBox_MouseUp(Object, MouseEventArgs)
Declaration
protected virtual void MaskEditBox_MouseUp(object sender, MouseEventArgs e)
Parameters
System.Object
sender
|
System.Windows.Forms.MouseEventArgs
e
|
MaskEditBox_MouseWheel(Object, MouseEventArgs)
Declaration
protected virtual void MaskEditBox_MouseWheel(object sender, MouseEventArgs e)
Parameters
System.Object
sender
|
System.Windows.Forms.MouseEventArgs
e
|
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
OnLoaded()
OnPopupClosed(Object, RadPopupClosedEventArgs)
Declaration
protected virtual void OnPopupClosed(object sender, RadPopupClosedEventArgs args)
Parameters
System.Object
sender
|
RadPopupClosedEventArgs
args
|
OnPopupClosing(RadPopupClosingEventArgs)
Declaration
protected override void OnPopupClosing(RadPopupClosingEventArgs e)
Parameters
RadPopupClosingEventArgs
e
|
Overrides
OnPopupOpened(Object, EventArgs)
Declaration
protected virtual void OnPopupOpened(object sender, EventArgs e)
Parameters
System.Object
sender
|
System.EventArgs
e
|
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
Overrides
OnValueChanged(Object, EventArgs)
Declaration
protected virtual void OnValueChanged(object sender, EventArgs e)
Parameters
System.Object
sender
|
System.EventArgs
e
|
OnValueChanging(Object, CancelEventArgs)
Declaration
protected virtual void OnValueChanging(object sender, CancelEventArgs e)
Parameters
System.Object
sender
|
System.ComponentModel.CancelEventArgs
e
|
SetupEditMode(TimeSpanEditMode)
Declaration
protected virtual void SetupEditMode(TimeSpanEditMode timeSpanEditMode)
Parameters
TimeSpanEditMode
timeSpanEditMode
|
UnwireEvents()
Unsubscribes from all subscribed events.
Declaration
protected virtual void UnwireEvents()
UpdatePopupLocalizationStrings()
Declaration
protected virtual void UpdatePopupLocalizationStrings()
WireEvents()
Subscribes to the necessary events.
Declaration
protected virtual void WireEvents()
Events
Click
Declaration
public event EventHandler Click
Event Type
System.EventHandler
|
KeyDown
Declaration
public event KeyEventHandler KeyDown
Event Type
System.Windows.Forms.KeyEventHandler
|
KeyPress
Declaration
public event KeyPressEventHandler KeyPress
Event Type
System.Windows.Forms.KeyPressEventHandler
|
KeyUp
Declaration
public event KeyEventHandler KeyUp
Event Type
System.Windows.Forms.KeyEventHandler
|
MouseUp
Declaration
public event MouseEventHandler MouseUp
Event Type
System.Windows.Forms.MouseEventHandler
|
MouseWheel
Declaration
public event MouseEventHandler MouseWheel
Event Type
System.Windows.Forms.MouseEventHandler
|
ValueChanged
Occurs when the editing value has been changed
Declaration
public event EventHandler ValueChanged
Event Type
System.EventHandler
|
ValueChanging
Occurs when the editing value is changing.
Declaration
public event CancelEventHandler ValueChanging
Event Type
System.ComponentModel.CancelEventHandler
|