Class RadTimeSpanPicker
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
[TelerikToolboxCategory("Editors")]
public class RadTimeSpanPicker : RadEditorControl, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IPCHost, IAnalyticsProvider
Constructors
RadTimeSpanPicker()
Declaration
public RadTimeSpanPicker()
Properties
AutoSize
Gets or sets whether the edit control is auto-sized
Declaration
public override bool AutoSize { get; set; }
Property Value
System.Boolean
|
Overrides
Culture
Gets or sets the current culture associated to the RadTimeSpanPicker
Declaration
public CultureInfo Culture { get; set; }
Property Value
System.Globalization.CultureInfo
|
DaysStep
Gets or sets the days step used when modifying the value.
Declaration
public int DaysStep { get; set; }
Property Value
System.Int32
|
DefaultSize
Gets the default size of the control.
Declaration
protected override Size DefaultSize { get; }
Property Value
System.Drawing.Size
|
EditMode
Gets or sets a value indicating how the users will edit the TimeSpan value.
Declaration
public TimeSpanEditMode EditMode { get; set; }
Property Value
TimeSpanEditMode
|
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
|
HoursStep
Gets or sets the hours step used when modifying the value.
Declaration
public int HoursStep { get; set; }
Property Value
System.Int32
|
MaxValue
Gets or sets the Maximal TimeSpan value assigned to the control.
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 Minimal TimeSpan value assigned to the control.
Declaration
public TimeSpan MinValue { get; set; }
Property Value
System.TimeSpan
|
NullText
Gets or sets the text that is displayed when RadTimeSpanPicker 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 ITimeSpanPickerContentElement PopupContentElement { get; }
Property Value
ITimeSpanPickerContentElement
|
ReadOnly
Gets or sets a value indicating whether the contents of the TextBox control can be changed.
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
|
ShowSpinButtons
Gets or sets a value indicating whether the spin buttons will be shown.
Declaration
public bool ShowSpinButtons { get; set; }
Property Value
System.Boolean
|
Text
This property is not relevant for this class.
Declaration
public override string Text { get; set; }
Property Value
System.String
|
Overrides
TextAlign
Gets or sets the horizontal alignment of the text.
Declaration
public HorizontalAlignment TextAlign { get; set; }
Property Value
System.Windows.Forms.HorizontalAlignment
|
TimeSpanPickerElement
Gets the RadTimeSpanPickerElement which encapsulates the UI representation and functionality of the control.
Declaration
public RadTimeSpanPickerElement TimeSpanPickerElement { get; }
Property Value
RadTimeSpanPickerElement
|
Value
Gets or sets the time value assigned to the control.
Declaration
public TimeSpan? Value { get; set; }
Property Value
System.Nullable<System.TimeSpan>
|
Methods
CreateChildItems(RadElement)
Declaration
protected override void CreateChildItems(RadElement parent)
Parameters
RadElement
parent
|
Overrides
CreateTimeSpanElement()
Declaration
protected virtual RadTimeSpanPickerElement CreateTimeSpanElement()
Returns
RadTimeSpanPickerElement
|
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
System.Boolean
disposing
|
Overrides
OnRightToLeftChanged(EventArgs)
Declaration
protected override void OnRightToLeftChanged(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
OnSizeChanged(EventArgs)
Declaration
protected override void OnSizeChanged(EventArgs e)
Parameters
System.EventArgs
e
|
ProcessAutoSizeChanged(Boolean)
Declaration
protected override void ProcessAutoSizeChanged(bool value)
Parameters
System.Boolean
value
|
Overrides
ResetBackColorThemeOverrides()
Declaration
protected override void ResetBackColorThemeOverrides()
Overrides
ResetForeColorThemeOverrides()
Declaration
protected override void ResetForeColorThemeOverrides()
Overrides
SetBackColorThemeOverrides()
Declaration
protected override void SetBackColorThemeOverrides()
Overrides
SetForeColorThemeOverrides()
Declaration
protected override void SetForeColorThemeOverrides()
Overrides
UnwireEvents()
Declaration
protected void UnwireEvents()
WireEvents()
Declaration
protected void WireEvents()
WndProc(ref Message)
Declaration
protected override void WndProc(ref Message m)
Parameters
System.Windows.Forms.Message
m
|
Overrides
Events
KeyDown
Occurs when the RadItem has focus and the user presses a key down
Declaration
public event KeyEventHandler KeyDown
Event Type
System.Windows.Forms.KeyEventHandler
|
KeyPress
Occurs when the RadItem has focus and the user presses a key
Declaration
public event KeyPressEventHandler KeyPress
Event Type
System.Windows.Forms.KeyPressEventHandler
|
KeyUp
Occurs when the RadItem has focus and the user releases the pressed key up
Declaration
public event KeyEventHandler KeyUp
Event Type
System.Windows.Forms.KeyEventHandler
|
PopupClosed
Occurs when the pop-up is closed.
Declaration
public event RadPopupClosedEventHandler PopupClosed
Event Type
RadPopupClosedEventHandler
|
PopupClosing
Occurs when the pop-up about to be closed. Cancelable.
Declaration
public event RadPopupClosingEventHandler PopupClosing
Event Type
RadPopupClosingEventHandler
|
PopupOpened
Occurs when the pop-up is opened.
Declaration
public event EventHandler PopupOpened
Event Type
System.EventHandler
|
PopupOpening
Occurs when the pop-up about to be opened. Cancelable.
Declaration
public event CancelEventHandler PopupOpening
Event Type
System.ComponentModel.CancelEventHandler
|
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 about to be changed. Cancelable.
Declaration
public event CancelEventHandler ValueChanging
Event Type
System.ComponentModel.CancelEventHandler
|