Skip to main content

ColorChangedEventArgs Constructor

Initializes a new instance of the ColorChangedEventArgs class.

Definition​

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls.ColorPicker (in Avalonia.Controls.ColorPicker.dll)

public ColorChangedEventArgs(
Color oldColor,
Color newColor
)

Parameters​

  Color
The old/original color from before the change event.
  Color
The new/updated color that triggered the change event.

See Also​

Reference​

ColorChangedEventArgs Class
Avalonia.Controls Namespace