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.
|
Implements
DaysStep
Gets or sets the days step used when modifying the value.
Declaration
public int DaysStep { get; set; }
Property Value
System.
|
DownButton
Gets down button.
Declaration
public RadRepeatArrowElement DownButton { get; }
Property Value
Rad 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.
|
DropDownButton
Gets the Rad
Declaration
public RadTimeDropDownButtonElement DropDownButton { get; }
Property Value
EditMode
Gets or sets a value indicating how the users will edit the TimeSpan value.
Declaration
public TimeSpanEditMode EditMode { get; set; }
Property Value
EditorElement
Declaration
public override RadItem EditorElement { get; set; }
Property Value
Overrides
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.
|
Format
Gets or sets the format string.
Declaration
public string Format { get; set; }
Property Value
System.
|
Implements
HoursStep
Gets or sets the hours step used when modifying the value.
Declaration
public int HoursStep { get; set; }
Property Value
System.
|
MaskedEditBox
Gets the Rad
Declaration
public virtual RadMaskedEditBoxElement MaskedEditBox { get; }
Property Value
MaxValue
Gets or sets the max value.
Declaration
public TimeSpan MaxValue { get; set; }
Property Value
System.
|
MillisecondsStep
Gets or sets the milliseconds step used when modifying the value.
Declaration
public int MillisecondsStep { get; set; }
Property Value
System.
|
MinutesStep
Gets or sets the minutes step used when modifying the value.
Declaration
public int MinutesStep { get; set; }
Property Value
System.
|
MinValue
Gets or sets the min value.
Declaration
public TimeSpan MinValue { get; set; }
Property Value
System.
|
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.
|
PopupContentElement
Gets the ITime
Declaration
public virtual ITimeSpanPickerContentElement PopupContentElement { get; }
Property Value
PopupForm
Gets the pop-up form.
Declaration
public RadTimeSpanPickerPopup PopupForm { get; }
Property Value
Rad The pop-up form. |
PopupMinSize
Gets or sets the minimum size of pop-up form.
Declaration
public Size PopupMinSize { get; set; }
Property Value
System. 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.
|
SecondsStep
Gets or sets the seconds step used when modifying the value.
Declaration
public int SecondsStep { get; set; }
Property Value
System.
|
ShowDropDownButton
Gets or sets a value indicating whether the drop down button will be shown.
Declaration
public bool ShowDropDownButton { get; set; }
Property Value
System.
|
ShowSpinButtons
Gets or sets a value indicating whether the spin buttons will be shown.
Declaration
public bool ShowSpinButtons { get; set; }
Property Value
System.
|
SpinButtonsStackLayout
Gets the spin buttons stack layout.
Declaration
public StackLayoutElement SpinButtonsStackLayout { get; }
Property Value
Stack The spin buttons stack layout. |
TextAlign
Gets or sets the horizontal alignment of the text.
Declaration
public HorizontalAlignment TextAlign { get; set; }
Property Value
System.
|
ThemeEffectiveType
Gets the theme effective type.
Declaration
protected override Type ThemeEffectiveType { get; }
Property Value
System.
|
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
Implements
UpButton
Gets up button.
Declaration
public RadRepeatArrowElement UpButton { get; }
Property Value
Value
Gets or sets the value of Rad
Declaration
public override object Value { get; set; }
Property Value
System.
|
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
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
CreateDownButton()
Creates the button element for the decrement button.
Declaration
protected virtual RadRepeatArrowElement CreateDownButton()
Returns
Rad A Rad |
CreateDropDownButtonElement()
Creates the drop down button element.
Declaration
protected virtual RadTimeDropDownButtonElement CreateDropDownButtonElement()
Returns
CreateMaskedEditBoxElement()
Creates the masked edit box element.
Declaration
protected virtual RadMaskedEditBoxElement CreateMaskedEditBoxElement()
Returns
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
Overrides
CreateUpButton()
Creates the button element for the increment button.
Declaration
protected virtual RadRepeatArrowElement CreateUpButton()
Returns
Rad A Rad |
DisposeManagedResources()
Disposes the managed resources.
Declaration
protected override void DisposeManagedResources()
Overrides
GetInitialPopupSize()
Declaration
protected override Size GetInitialPopupSize()
Returns
System.
|
Overrides
GetPopupSize(RadPopupControlBase, Boolean)
Declaration
protected override Size GetPopupSize(RadPopupControlBase popup, bool measure)
Parameters
Rad
|
System.
|
Returns
System.
|
Overrides
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
MaskEditBox_Click(Object, EventArgs)
Declaration
protected virtual void MaskEditBox_Click(object sender, EventArgs e)
Parameters
System.
|
System.
|
MaskEditBox_KeyDown(Object, KeyEventArgs)
Declaration
protected virtual void MaskEditBox_KeyDown(object sender, KeyEventArgs e)
Parameters
System.
|
System.
|
MaskEditBox_KeyPress(Object, KeyPressEventArgs)
Declaration
protected virtual void MaskEditBox_KeyPress(object sender, KeyPressEventArgs e)
Parameters
System.
|
System.
|
MaskEditBox_MouseUp(Object, MouseEventArgs)
Declaration
protected virtual void MaskEditBox_MouseUp(object sender, MouseEventArgs e)
Parameters
System.
|
System.
|
MaskEditBox_MouseWheel(Object, MouseEventArgs)
Declaration
protected virtual void MaskEditBox_MouseWheel(object sender, MouseEventArgs e)
Parameters
System.
|
System.
|
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.
|
Returns
System.
|
Overrides
OnLoaded()
OnPopupClosed(Object, RadPopupClosedEventArgs)
Declaration
protected virtual void OnPopupClosed(object sender, RadPopupClosedEventArgs args)
Parameters
System.
|
Rad
|
OnPopupClosing(RadPopupClosingEventArgs)
Declaration
protected override void OnPopupClosing(RadPopupClosingEventArgs e)
Parameters
Overrides
OnPopupOpened(Object, EventArgs)
Declaration
protected virtual void OnPopupOpened(object sender, EventArgs e)
Parameters
System.
|
System.
|
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
Overrides
OnValueChanged(Object, EventArgs)
Declaration
protected virtual void OnValueChanged(object sender, EventArgs e)
Parameters
System.
|
System.
|
OnValueChanging(Object, CancelEventArgs)
Declaration
protected virtual void OnValueChanging(object sender, CancelEventArgs e)
Parameters
System.
|
System.
|
SetupEditMode(TimeSpanEditMode)
Declaration
protected virtual void SetupEditMode(TimeSpanEditMode timeSpanEditMode)
Parameters
Time
|
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.
|
KeyDown
Declaration
public event KeyEventHandler KeyDown
Event Type
System.
|
KeyPress
Declaration
public event KeyPressEventHandler KeyPress
Event Type
System.
|
KeyUp
Declaration
public event KeyEventHandler KeyUp
Event Type
System.
|
MouseUp
Declaration
public event MouseEventHandler MouseUp
Event Type
System.
|
MouseWheel
Declaration
public event MouseEventHandler MouseWheel
Event Type
System.
|
ValueChanged
Occurs when the editing value has been changed
Declaration
public event EventHandler ValueChanged
Event Type
System.
|
ValueChanging
Occurs when the editing value is changing.
Declaration
public event CancelEventHandler ValueChanging
Event Type
System.
|