ColorChangedEventArgs ColorChangedEventArgs ColorChangedEventArgs ColorChangedEventArgs Class

Definition

Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Prerelease APIs are identified by a Prerelease label.

[Contains prerelease APIs.]
Provides event data for the ColorChanged event.

public : sealed class ColorChangedEventArgs : IColorChangedEventArgspublic sealed class ColorChangedEventArgs : IColorChangedEventArgsPublic NotInheritable Class ColorChangedEventArgs Implements IColorChangedEventArgs// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Insider Preview (introduced v10.0.16257.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

Properties

NewColor NewColor NewColor NewColor

Prerelease. Gets the color that is currently selected in the control.

public : Color NewColor { get; }public Color NewColor { get; }Public ReadOnly Property NewColor As Color// You can use this property in JavaScript.
Value
Color Color Color Color

The color that is currently selected in the control.

OldColor OldColor OldColor OldColor

Prerelease. Gets the color that was previously selected in the control.

public : Color OldColor { get; }public Color OldColor { get; }Public ReadOnly Property OldColor As Color// You can use this property in JavaScript.
Value
Color Color Color Color

The color that was previously selected in the control.