ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / ColorPicker Class / Palette Property






In This Topic
    Palette Property (ColorPicker)
    In This Topic
    Gets or sets an array that contains the colors in the palette.
    Syntax
    'Declaration
     
    
    Public Property Palette As System.Collections.Generic.List(Of String)
    'Usage
     
    
    Dim instance As ColorPicker
    Dim value As System.Collections.Generic.List(Of String)
     
    instance.Palette = value
     
    value = instance.Palette
    public System.Collections.Generic.List<string> Palette {get; set;}
    public read-write property Palette: System.Collections.Generic.List; 
    public function get,set Palette : System.Collections.Generic.List
    public: __property System.Collections.Generic.List<string*>* get_Palette();
    public: __property void set_Palette( 
       System.Collections.Generic.List<string*>* value
    );
    public:
    property System.Collections.Generic.List<String^>^ Palette {
       System.Collections.Generic.List<String^>^ get();
       void set (    System.Collections.Generic.List<String^>^ value);
    }
    Remarks
    The palette contains ten colors, represented by an array with ten strings. The first two colors are usually white and black.
    See Also