Editor for WinForms | ComponentOne
C1.Win.C1Editor.4.8 Assembly / C1.Win.C1Editor.ToolStrips Namespace / C1EditorToolStripButton Class
Members Example

In This Topic
    C1EditorToolStripButton Class
    In This Topic
    Represents a toolstrip button which performs a command in a linked C1.Win.C1Editor.C1Editor control.
    Object Model
    C1EditorToolStripButton Class
    Syntax
    'Declaration
     
    Public Class C1EditorToolStripButton 
       Inherits System.Windows.Forms.ToolStripButton
    public class C1EditorToolStripButton : System.Windows.Forms.ToolStripButton 
    Remarks
    Use this class to add a C1.Win.C1Editor.C1Editor-related button to a ToolStrip.
    Example
    The following code example demonstrates how to create a C1EditorToolStripButton and add it to a System.Windows.Forms.ToolStrip.
    C1EditorToolStripButton button = new C1EditorToolStripButton();
    button.Command = CommandButton.ClearFormatting;
    button.Editor = c1Editor1;
    toolStrip1.Items.Add(button);
    Inheritance Hierarchy

    System.Object
       System.MarshalByRefObject
          System.ComponentModel.Component
             System.Windows.Forms.ToolStripItem
                System.Windows.Forms.ToolStripButton
                   C1.Win.C1Editor.ToolStrips.C1EditorToolStripButton

    See Also