Category / Section
How to collapse the default tabs in WPF ColorPickerPalette?
1 min read
Standard and Custom color tabs of the WPF ColorPickerPalette can be collapsed by IsStandardTabVisible and IsCustomTabVisible properties respectively.
The following code examples explain how to collapse the Standard color tab.
XAML
<syncfusion:ColorPickerPalette x:Name="colorpicker" HorizontalAlignment="Center" VerticalAlignment="Center" IsStandardTabVisible="Collapsed"/>
C#
colorpicker.IsStandardTabVisible = Visibility.Collapsed;
The following code examples explain how to collapse the Custom color tab.
XAML
<syncfusion:ColorPickerPalette x:Name="colorpicker" HorizontalAlignment="Center" VerticalAlignment="Center" IsCustomTabVisible="Collapsed"/>
C#
colorpicker.IsCustomTabVisible = Visibility.Collapsed;
The following screenshot shows the output of the Standard tab, collapsed in the ColorPickerPalette by setting the IsStandardTabVisible property as Collapsed.
Figure 1: Collapsed Standard tab
The following screenshot shows the output of the Custom tab, collapsed in the ColorPickerPalette by setting the IsCustomTabVisible property as Collapsed.
Figure 2: Collapsed Custom tab
Conclusion
I hope you
enjoyed learning on how to collapse the default color tabs in ColorPickerPalette.
You can refer to our WPF ColorPickerPalette feature tour page
to know about its other groundbreaking feature representations and documentation, and
how to quickly get started for configuration specifications. You can also
explore our WPF ColorPickerPalette example to
understand how to create and manipulate data.
For current
customers, you can check out our components from the License and Downloads page. If
you are new to Syncfusion, you can try our 30-day free trial to
check out our other controls.
If you have any queries or require
clarifications, please let us know in the comments section below. You can
also contact us through our support forums, Direct-Trac, or feedback portal. We
are always happy to assist you!