Inserts a section break of the requested type in the document body.
Definition
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class InsertSectionBreakCommand : RichTextBoxCommandBase, ICommand
Inheritance: objectRichTextBoxCommandBaseInsertSectionBreakCommand
Implements:
Inherited Members
Constructors
Initializes the command for the specified editor.
public InsertSectionBreakCommand(RadRichTextBox editor)
The editor whose document body receives the section break.
Properties
Marks section-break insertion as an operation that may replace selected content for protected-range permission checks.
protected override bool IsDeletingCommand { get; }
Overrides:
Limits this command to document-body content.
protected override CommandTargets SupportedTargets { get; }
Overrides:
Methods
Inserts the requested section break when the parameter can be converted and the current position permits section-break insertion.
protected override void ExecuteOverride(object parameter)
A SectionBreakType, its parseable string name, or in WinForms a UI element whose Tag contains that name. Other parameter types are ignored.
Overrides: