Class ColorChangingEventArgs
Provides data for the ColorChanging event.
Inheritance
System.Object
ColorChangingEventArgs
Namespace: Syncfusion.Maui.Inputs
Assembly: Syncfusion.Maui.Inputs.dll
Syntax
public class ColorChangingEventArgs : CancelEventArgs
Constructors
ColorChangingEventArgs(Color, Color, Boolean)
Initializes a new instance of the ColorChangingEventArgs class.
Declaration
public ColorChangingEventArgs(Color currentColor, Color newColor, bool cancel)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Maui.Graphics.Color | currentColor | The current color value. |
Microsoft.Maui.Graphics.Color | newColor | The new color value. |
System.Boolean | cancel |
Properties
CurrentColor
Gets the current color value before the change is applied.
Declaration
public Color CurrentColor { get; }
Property Value
Type |
---|
Microsoft.Maui.Graphics.Color |
NewColor
Gets the tentative new color value that the user is currently selecting.
Declaration
public Color NewColor { get; }
Property Value
Type |
---|
Microsoft.Maui.Graphics.Color |