Expanded Mode in WPF Color Picker Palette
Expanded Mode allows you to pick colors from the ColorPickerPalette. By setting IsExpanded Property to True, the ColorPickerPalette control can be hosted in Expanded Mode. By default, this mode is set to False.
Use Case Scenarios
Expanded Mode can be used when you want to have the ColorPickerPalette without drop down.
Adding Expanded Mode to an Application
Expanded Mode can be added to an application by using XAML or C# code.
The following code example illustrates how to add the Expanded Mode to an application.
ColorPickerPalette colorpicker = new ColorPickerPalette(); colorpicker.IsExpanded = true;
ColorPickerPalette colorpicker = new ColorPickerPalette() colorpicker.IsExpanded = true
|IsExpanded||Enables or disables the Expanded Mode property of ColorPickerPalette||DependencyProperty||False|
To view samples:
- Select Start -> Programs -> Syncfusion -> Essential Studio xx.x.x.xx -> Dashboard.
- Select Run Locally Installed Samples in WPF Button.
- Now Search ColorPickerPalette sample and launch it.