Editor for WinForms | ComponentOne
C1.Win.C1Editor.4.8 Assembly / C1.Win.C1Editor Namespace / C1Editor Class / BeforeModeChange Event

In This Topic
    BeforeModeChange Event
    In This Topic
    Occurs when the Mode of the Editor is about to change.
    Syntax
    'Declaration
     
    Public Event BeforeModeChange As BeforeModeChangeEventHandler
    public event BeforeModeChangeEventHandler BeforeModeChange
    Event Data

    The event handler receives an argument of type BeforeModeChangeEventArgs containing data related to this event. The following BeforeModeChangeEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets or sets the HTML source for the document being edited.  
    Gets or sets a new editing mode. Choose from Design, Source, or Preview modes.  
    See Also