Class ColorChangedEventArgs
Provides data for the ColorChanged event.
Inheritance
System.Object
ColorChangedEventArgs
Namespace: Syncfusion.Maui.Inputs
Assembly: Syncfusion.Maui.Inputs.dll
Syntax
public class ColorChangedEventArgs : EventArgs
Constructors
ColorChangedEventArgs(Color, Color)
Initializes a new instance of the ColorChangedEventArgs class.
Declaration
public ColorChangedEventArgs(Color oldColor, Color newColor)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.Maui.Graphics.Color | oldColor | The old color value. |
| Microsoft.Maui.Graphics.Color | newColor | The new color value. |
Properties
NewColor
Gets the new color value.
Declaration
public Color NewColor { get; }
Property Value
| Type |
|---|
| Microsoft.Maui.Graphics.Color |
OldColor
Gets the old color value.
Declaration
public Color OldColor { get; }
Property Value
| Type |
|---|
| Microsoft.Maui.Graphics.Color |