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:

<telerik:RadColorSelector NoColorVisibility="Visible" /> 

RadColorSelector selector = new RadColorSelector(); 
selector.NoColorVisibility = Visibility.Visible; 
// selector.NoColorVisibility= Visibility.Collapsed; 
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

        <telerik:RadColorSelector StandardPaletteVisibility="Visible" /> 
    

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

        <telerik:RadColorSelector HeaderPaletteVisibility="Visible" /> 
    

        RadColorSelector selector = new RadColorSelector(); 
        selector.HeaderPaletteVisibility = Visibility.Visible; 
        // selector.HeaderPaletteVisibility = Visibility.Collapsed; 
    
        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

        <telerik:RadColorSelector StandardPaletteHeaderText="Header" /> 
    

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

        <telerik:RadColorSelector MainPaletteHeaderText="Header" /> 
    

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

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

        RadColorSelector selector = new RadColorSelector(); 
        selector.NoColorText = "No Color Text"; 
    
        Dim selector As New RadColorSelector() 
        selector.NoColorText = "No Color Text" 
    
In this article
Not finding the help you need? Improve this article