Class ColorChangedEventArgs

Definition

Namespace:
ElmSharp
Assembly:
ElmSharp.dll

It inherits System.EventArgs. Event ColorChanged of the ColorSelector contains ColorChangedEventArgs as a parameter. Refer to ColorSelectortype.

C#
Copy
[Obsolete("This has been deprecated in API12")] public class ColorChangedEventArgs : EventArgs
Inheritance
object
System.EventArgs
ColorChangedEventArgs

Constructors

View Source

ColorChangedEventArgs(Color, Color)

Creates and initializes a new instance of the ColorChangedEventArgs class.

Declaration
C#
Copy
[Obsolete("This has been deprecated in API12")] public ColorChangedEventArgs(Color oldColor, Color newColor)
Parameters
Type Name Description
Color oldColor

Old color.

Color newColor

New color.

Properties

View Source

NewColor

Gets a new color in the color changed event.

Declaration
C#
Copy
[Obsolete("This has been deprecated in API12")] public Color NewColor { get; }
Property Value
Type Description
Color
View Source

OldColor

Gets an old color in the color changed event.

Declaration
C#
Copy
[Obsolete("This has been deprecated in API12")] public Color OldColor { get; }
Property Value
Type Description
Color