Class ValueEditingEventArgs
Contains information about the RadTimeSpanPicker ValueEditing event.
Inheritance
Namespace: Telerik.Windows.Controls.TimeSpanPicker
Assembly: Telerik.Windows.Controls.Input.dll
Syntax
public class ValueEditingEventArgs : CancelEventArgs
Constructors
ValueEditingEventArgs(Nullable<TimeSpan>, Nullable<TimeSpan>, EditSectionType, Nullable<Char>, Boolean, SpinAction)
Initializes a new instance of the ValueEditingEventArgs class.
Declaration
public ValueEditingEventArgs(TimeSpan? newValue, TimeSpan? currentValue, EditSectionType sectionType, char? digitChar, bool isDelete, SpinAction spinAction = SpinAction.None)
Parameters
System.Nullable<System.TimeSpan>
newValue
The new value. |
System.Nullable<System.TimeSpan>
currentValue
The current value. |
EditSectionType
sectionType
The type of the section which is edited. |
System.Nullable<System.Char>
digitChar
The char which is being inserted. |
System.Boolean
isDelete
Indicates if this is a delete operation. |
SpinAction
spinAction
Indicates if this is a spin operation and its type. |
Properties
CurrentValue
Gets the current System.TimeSpan value of the control.
Declaration
public TimeSpan? CurrentValue { get; }
Property Value
System.Nullable<System.TimeSpan>
|
DigitChar
Gets the digit char if the edit is a result of digit key press.
Declaration
public char? DigitChar { get; }
Property Value
System.Nullable<System.Char>
|
IsDelete
Gets a value indicating whether the edit is result of a delete operation.
Declaration
public bool IsDelete { get; }
Property Value
System.Boolean
|
NewValue
Gets or sets the new System.TimeSpan value.
Declaration
public TimeSpan? NewValue { get; set; }
Property Value
System.Nullable<System.TimeSpan>
|
SectionType
Gets the edit section type.
Declaration
public EditSectionType SectionType { get; }
Property Value
EditSectionType
|
SpinAction
Gets a value indicating if this is a spin operation and its type.
Declaration
public SpinAction SpinAction { get; }
Property Value
SpinAction
|