Editor for WinForms | ComponentOne
Creating an XHTML Editor in Code / The ToolStripBase class
In This Topic
    The ToolStripBase class
    In This Topic

    The ToolStripBase class is an abstract class that provides common functionality to all C1Editor toolstrips used in our project.

    Specifically, the base class provides an Editor property that connects the toolstrip to an editor and connects handlers to the DocumentChanged and SelectionChanged events. It also provides an AddButton method that makes it easy to populate the toolstrips.

    The ToolStripBase class is extremely simple. For details, please refer to the source code.