New to Telerik UI for WPFStart a free 30-day trial

Contains information about the RadTimeSpanPicker ValueEditing event.

Definition

Namespace:Telerik.Windows.Controls.TimeSpanPicker

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

C#
public class ValueEditingEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsValueEditingEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

Initializes a new instance of the ValueEditingEventArgs class.

C#
public ValueEditingEventArgs(TimeSpan? newValue, TimeSpan? currentValue, EditSectionType sectionType, char? digitChar, bool isDelete, SpinAction spinAction = SpinAction.None)
Parameters:newValueTimeSpan?

The new value.

currentValueTimeSpan?

The current value.

sectionTypeEditSectionType

The type of the section which is edited.

digitCharchar?

The char which is being inserted.

isDeletebool

Indicates if this is a delete operation.

spinActionSpinAction

Indicates if this is a spin operation and its type.

Properties

Gets the current TimeSpan value of the control.

C#
public TimeSpan? CurrentValue { get; }

Gets the digit char if the edit is a result of digit key press.

C#
public char? DigitChar { get; }

Gets a value indicating whether the edit is result of a delete operation.

C#
public bool IsDelete { get; }

Gets or sets the new TimeSpan value.

C#
public TimeSpan? NewValue { get; set; }

Gets the edit section type.

C#
public EditSectionType SectionType { get; }

Gets a value indicating if this is a spin operation and its type.

C#
public SpinAction SpinAction { get; }