Edit this page

Appearance

You can customize the appearance of a RadColorSelector by choosing which of the parts to be visible.

1. You can set the NoColorVisibility property to Visibility.Visible to view the NoColorField, otherwise you should set it to false:

XAML

<telerik:RadColorSelector NoColorVisibility="Visible" />

C#

RadColorSelector selector = new RadColorSelector();
selector.NoColorVisibility = Visibility.Visible;
// selector.NoColorVisibility= Visibility.Collapsed;

VB.NET

Dim selector As New RadColorSelector()
selector.NoColorVisibility = Visibility.Visible
' selector.NoColorVisibility= Visibility.Collapsed '

No Color Field

2. You can use StandardPaletteVisibility and HeaderPaletteVisibility in order to set the visibility of the corresponding palettes:
  • StandardPaletteVisibility

    XAML

    <telerik:RadColorSelector StandardPaletteVisibility="Visible" />
    

    C#

    RadColorSelector selector = new RadColorSelector();
    selector.StandardPaletteVisibility = Visibility.Visible;
    // selector.StandardPaletteVisibility = Visibility.Collapsed;
    

    VB.NET

    Dim selector As New RadColorSelector()
    selector.StandardPaletteVisibility = Visibility.Visible
    ' selector.StandardPaletteVisibility = Visibility.Collapsed '
    
  • HeaderPaletteVisibility

    XAML

    <telerik:RadColorSelector HeaderPaletteVisibility="Visible" />
    

    C#

    RadColorSelector selector = new RadColorSelector();
    selector.HeaderPaletteVisibility = Visibility.Visible;
    // selector.HeaderPaletteVisibility = Visibility.Collapsed;
    

    VB.NET

    Dim selector As New RadColorSelector()
    selector.HeaderPaletteVisibility = Visibility.Visible
    ' selector.HeaderPaletteVisibility =Visibility.Collapsed '
    

Color Picker StructureSL

3. You can set different text for StandardPalette header text , MainPalette header text and NoColorText.
  • StandardPaletteHeaderText

    XAML

    <telerik:RadColorSelector StandardPaletteHeaderText="Header" />
    

    C#

    RadColorSelector selector = new RadColorSelector();
    selector.StandardPaletteHeaderText = "header";
    

    VB.NET

    Dim selector As New RadColorSelector()
    selector.StandardPaletteHeaderText = "header"
    
  • MainPaletteHeaderText

    XAML

    <telerik:RadColorSelector MainPaletteHeaderText="Header" />
    

    C#

    RadColorSelector selector = new RadColorSelector();
    selector.MainPaletteHeaderText = "header";
    

    VB.NET

    Dim selector As New RadColorSelector()
    selector.MainPaletteHeaderText = "header"
    
  • NoColorText

    XAML

    <telerik:RadColorSelector NoColorText="No Color Text" />
    

    C#

    RadColorSelector selector = new RadColorSelector();
    selector.NoColorText = "No Color Text";
    

    VB.NET

    Dim selector As New RadColorSelector()
    selector.NoColorText = "No Color Text"