C1ColorPicker's Background property enables users to get or set the control's background color. In UWP applications, you can implement or change background color either at Design-time or in XAML view.
To implement background color for C1ColorPicker at design time, complete the following steps:
To implement background color for C1ColorPicker through XAML, add Background="Green" to the <Extended:C1ColorPicker> tag. The XAML view should appear similar to the following:
XAML |
Copy Code
|
---|---|
<Extended:C1ColorPicker x:Name="C1ColorPicker1" Margin="283,119,883,0" Height="90" VerticalAlignment="Top" Background="Green"/> |
Run the application and notice that the ColorPicker appears Green.