Dela via


ColorChangedEventArgs.OldColor Property

Definition

Gets the color that was previously selected in the control.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.ColorChangedEventArgs.OldColor (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 property Color OldColor { Color get(); };
Color OldColor();
public Color OldColor { get; }
var color = colorChangedEventArgs.oldColor;
Public ReadOnly Property OldColor As Color

Property Value

The color that was previously selected in the control.

Applies to