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

In This Topic
    CommandSplitButton Enumeration
    In This Topic
    Specifies the command used in a C1EditorToolStripSplitButton.
    Syntax
    'Declaration
     
    Public Enum CommandSplitButton 
       Inherits System.Enum
    public enum CommandSplitButton : System.Enum 
    Members
    MemberDescription
    Border Border
    None Empty command.
    Remarks
    The CommandSplitButton enumeration is used by the C1EditorToolStripSplitButton to set associated with the command text, tooltip, image, and menu items. The command defines also whether the button is checked or unchecked and whether the button is enabled or disabled.
    Example
    The following code example demonstrates how to create a C1EditorToolStripSplitButton and add it to a System.Windows.Forms.ToolStrip.
    C1EditorToolStripSplitButton button = new C1EditorToolStripSplitButton();
    button.Command = CommandSplitButton.Border;
    button.Editor = c1Editor1;
    toolStrip1.Items.Add(button);
    Inheritance Hierarchy

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

    See Also