Editor for WinForms | ComponentOne
C1.Win.C1Editor.4.8 Assembly / C1.Win.C1Editor.ToolStrips Namespace / CommandColorPicker Enumeration
Example Example

In This Topic
    CommandColorPicker Enumeration
    In This Topic
    Specifies the command used in a C1EditorToolStripColorPicker.
    Syntax
    'Declaration
     
    Public Enum CommandColorPicker 
       Inherits System.Enum
    public enum CommandColorPicker : System.Enum 
    Members
    MemberDescription
    BackColor Background color.
    ForeColor Text color.
    None Empty command.
    ParagraphBackColor Paragraph background color.
    Remarks
    The CommandComboBox enumeration is used by the C1EditorToolStripColorPicker to set items associated with the command.
    Example
    The following code example demonstrates how to create a C1EditorToolStripColorPicker and add it to a System.Windows.Forms.ToolStrip.
    C1EditorToolStripColorPicker colorPicker = new C1EditorToolStripColorPicker();
    colorPicker.Command = CommandColorPicker.ForeColor;
    colorPicker.Editor = c1Editor1;
    toolStrip1.Items.Add(colorPicker);
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             C1.Win.C1Editor.ToolStrips.CommandColorPicker

    See Also