New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents the event arguments for a property change event.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Type Parameters:

TValue

Specifies the value type of the changed property.

Syntax:

C#
public class ValueChangedEventArgs<TValue> : EventArgs

Inheritance: objectEventArgsValueChangedEventArgs<TValue>

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the ValueChangedEventArgs<TValue> class.

C#
public ValueChangedEventArgs(TValue previousValue, TValue newValue)
Parameters:previousValueTValue

Specifies the previous value of the property.

newValueTValue

Specifies the new value of the property.

Properties

NewValue

TValue

Gets the new value of the property.

C#
public TValue NewValue { get; }

Gets the previous value of the property.

C#
public TValue PreviousValue { get; }