Share via


ColorPicker.PreviousColor Property

Definition

Gets or sets the previous color.

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

public:
 property IReference<Color> ^ PreviousColor { IReference<Color> ^ get(); void set(IReference<Color> ^ value); };
IReference<Color> PreviousColor();

void PreviousColor(IReference<Color> value);
public System.Nullable<Color> PreviousColor { get; set; }
var iReference = colorPicker.previousColor;
colorPicker.previousColor = iReference;
Public Property PreviousColor As Nullable(Of Color)
<ColorPicker PreviousColor="colorString" .../>

Property Value

The previous color. The default is null.

Applies to