共用方式為


ColorPicker.PreviousColor 屬性

定義

取得或設定先前的色彩。

適用于 UWP 的對等 WinUI 2 APIMicrosoft.UI.Xaml.Controls.ColorPicker.PreviousColor (在Windows 應用程式 SDK中,請參閱Windows 應用程式 SDK命名空間) 。

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" .../>

屬性值

上一個色彩。 預設值為 null

適用於