Editor for WinForms | ComponentOne
C1.Win.C1Editor.4.8 Assembly / C1.Win.C1Editor Namespace / BeforeModeChangeEventArgs Class / BeforeModeChangeEventArgs Constructor
Gets or sets a new editing mode.
Gets or sets the HTML source for the document being edited.

In This Topic
    BeforeModeChangeEventArgs Constructor
    In This Topic
    Initializes a new instance of the BeforeModeChangeEventArgs class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal newMode As EditorMode, _
       ByVal htmlString As System.String _
    )
    public BeforeModeChangeEventArgs( 
       EditorMode newMode,
       System.string htmlString
    )

    Parameters

    newMode
    Gets or sets a new editing mode.
    htmlString
    Gets or sets the HTML source for the document being edited.
    See Also