[]
Provides data for the BeforeModeChange event.
public class BeforeModeChangeEventArgs : EventArgs
This type is used in the BeforeModeChange event.
| Name | Description |
|---|---|
| BeforeModeChangeEventArgs(EditorMode, string) | Initializes a new instance of the BeforeModeChangeEventArgs class. |
| Name | Description |
|---|---|
| HtmlString | Gets or sets the HTML source for the document being edited. |
| NewMode | Gets or sets a new editing mode. Choose from Design, Source, or Preview modes. |