Editor for WinForms | ComponentOne
C1.Win.C1Editor.4.5.2 Assembly / C1.Win.C1Editor.ToolStrips Namespace / CommandComboBox Enumeration
Example Example

In This Topic
    CommandComboBox Enumeration
    In This Topic
    Specifies the command used in a C1EditorToolStripComboBox.
    Syntax
    'Declaration
     
    Public Enum CommandComboBox 
       Inherits System.Enum
    public enum CommandComboBox : System.Enum 
    Members
    MemberDescription
    FontFamily Font family combo box.
    FontSize Font size combo box.
    None Empty command.
    Style Style combo box.
    Remarks
    The CommandComboBox enumeration is used by the C1EditorToolStripComboBox to set items associated with the command.
    Example
    The following code example demonstrates how to create a C1EditorToolStripComboBox and add it to a System.Windows.Forms.ToolStrip.
    C1EditorToolStripComboBox comboBox = new C1EditorToolStripComboBox();
    comboBox.Command = CommandComboBox.Style;
    comboBox.Editor = c1Editor1;
    toolStrip1.Items.Add(comboBox);
    Inheritance Hierarchy

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

    See Also