Articles in this section
Category / Section

How to collapse the default tabs in Silverlight ColorPickerPalette?

1 min read

Standard and Custom color tabs of ColorPickerPalette can be collapsed by the IsStandardTabVisible and IsCustomTabVisible properties respectively.

The following code examples show you 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 show you 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 ColorPickerPalette by setting the IsStandardTabVisible property as Collapsed.

Figure 1: Standard tab collapsed

The following screenshot shows the output of Custom tab collapsed in the ColorPickerPalette by setting the IsCustomTabVisible property as Collapsed.

Figure 2: Custom tab collapsed

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied