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

In This Topic
    Editor Property (C1EditorToolStripBase)
    In This Topic
    Gets or sets the C1.Win.C1Editor.C1Editor control.
    Syntax
    'Declaration
     
    Public Property Editor As C1Editor
    public C1Editor Editor {get; set;}
    Remarks
    Set this property to a value to link a descendant of C1EditorToolStripBase type with the C1.Win.C1Editor.C1Editor control.
    Example
    The following code example demonstrates how to use Editor property to link a C1EditorToolStripStyle to a C1.Win.C1Editor.C1Editor.
    private void Form1_Load(object sender, EventArgs e)
    {
         C1EditorToolStripStyle toolStrip = new C1EditorToolStripStyle();
         toolStrip.Editor = c1Editor1;
         this.Controls.Add(toolStrip);
    }
    See Also