Class
ValueChangingEventArgs<T>

Contains information about an event which occurs when a given value is about to change. Allows for canceling the change.

Definition

Namespace:Telerik.UI.Xaml.Controls.Input

Assembly:Telerik.WinUI.Controls.dll

Type Parameters:

T

The type of the value that is about to change.

Syntax:

cs-api-definition
public class ValueChangingEventArgs<T> : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsValueChangingEventArgs<T>

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

ValueChangingEventArgs(T, T)

Initializes a new instance of the ValueChangingEventArgs<T> class.

Declaration

cs-api-definition
public ValueChangingEventArgs(T oldValue, T newValue)

Parameters

oldValue

T

The old value.

newValue

T

The new value.

Properties

NewValue

Gets an instance of the DateTime struct that represents the new value.

Declaration

cs-api-definition
public T NewValue { get; }

Property Value

T

OldValue

Gets an instance of the DateTime struct that represents the previous value.

Declaration

cs-api-definition
public T OldValue { get; }

Property Value

T