Class ValueChangingEventArgs
Provides data for the ValueChanging event.
Inheritance
System.Object
ValueChangingEventArgs
Namespace: Syncfusion.GridCommon.ScrollAxis
Assembly: Syncfusion.GridCommon.Portable.dll
Syntax
public sealed class ValueChangingEventArgs : EventArgs
Constructors
ValueChangingEventArgs(Double, Double)
Initializes a new instance of the ValueChangingEventArgs class.
Declaration
public ValueChangingEventArgs(double newValue, double oldValue)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | newValue | The new value. |
| System.Double | oldValue | The old value. |
Properties
Cancel
Gets or sets a value indicating whether to cancel the value change in scroll bar.
Declaration
public bool Cancel { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | A boolean value indicating whether to cancel the value change in scroll bar. |
NewValue
Gets the new value.
Declaration
public double NewValue { get; }
Property Value
| Type | Description |
|---|---|
| System.Double | The new value. |
OldValue
Gets the old value.
Declaration
public double OldValue { get; }
Property Value
| Type | Description |
|---|---|
| System.Double | The old value. |