Class
ValueEditingEventArgs

Contains information about the RadTimeSpanPicker ValueEditing event.

Definition

Namespace:Telerik.Windows.Controls.TimeSpanPicker

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

cs-api-definition
public class ValueEditingEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsValueEditingEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

ValueEditingEventArgs(TimeSpan?, TimeSpan?, EditSectionType, char?, bool, SpinAction)

Initializes a new instance of the ValueEditingEventArgs class.

Declaration

cs-api-definition
public ValueEditingEventArgs(TimeSpan? newValue, TimeSpan? currentValue, EditSectionType sectionType, char? digitChar, bool isDelete, SpinAction spinAction = SpinAction.None)

Parameters

newValue

TimeSpan?

The new value.

currentValue

TimeSpan?

The current value.

sectionType

EditSectionType

The type of the section which is edited.

digitChar

char?

The char which is being inserted.

isDelete

bool

Indicates if this is a delete operation.

spinAction

SpinAction

Indicates if this is a spin operation and its type.

Properties

CurrentValue

Gets the current TimeSpan value of the control.

Declaration

cs-api-definition
public TimeSpan? CurrentValue { get; }

Property Value

TimeSpan?

DigitChar

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

Declaration

cs-api-definition
public char? DigitChar { get; }

Property Value

char?

IsDelete

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

Declaration

cs-api-definition
public bool IsDelete { get; }

Property Value

bool

NewValue

Gets or sets the new TimeSpan value.

Declaration

cs-api-definition
public TimeSpan? NewValue { get; set; }

Property Value

TimeSpan?

SectionType

Gets the edit section type.

Declaration

cs-api-definition
public EditSectionType SectionType { get; }

Property Value

EditSectionType

SpinAction

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

Declaration

cs-api-definition
public SpinAction SpinAction { get; }

Property Value

SpinAction