Class ColorChangedEventArgs
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
- API Level:
- preview
It inherits System.EventArgs. Event ColorChanged of the ColorSelector contains ColorChangedEventArgs as a parameter. Refer to ColorSelectortype.
C#Copypublic class ColorChangedEventArgs : EventArgs
- Inheritance
Constructors
View Source
ColorChangedEventArgs(Color, Color)
Creates and initializes a new instance of the ColorChangedEventArgs class.
Declaration
C#Copypublic ColorChangedEventArgs(Color oldColor, Color newColor)
Parameters
Type | Name | Description |
---|---|---|
Color | oldColor | Old color. |
Color | newColor | New color. |
API Level: preview
Properties
Declaration
C#Copypublic Color NewColor { get; }
Property Value
Type | Description |
---|---|
Color |
API Level: preview
Declaration
C#Copypublic Color OldColor { get; }
Property Value
Type | Description |
---|---|
Color |