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.
<sync:ColorPickerPalette IsExpanded="True"/>
ColorPickerPalette colorpicker = new ColorPickerPalette();
colorpicker.IsExpanded = true;
ColorPickerPalette colorpicker = new ColorPickerPalette()
colorpicker.IsExpanded = true
Properties
Property | Description | Type | Data Type | |
---|---|---|---|---|
IsExpanded | Enables or disables the Expanded Mode property of ColorPickerPalette | DependencyProperty | False |
Sample Link
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.
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page