New to Telerik UI for WinForms? Start a free 30-day trial

Interprets a command parameter as a preset section-column layout and applies the resulting collection to the current section.

Definition

Constructors

Creates a command that changes the column layout of the editor's current section.

C#
public ChangeSectionColumnsCommand(RadRichTextBox radRichTextBox)
Parameters:radRichTextBoxRadRichTextBox

The editor whose current section is changed.

Properties

Restricts this command to the document body, where section layout can be changed.

C#
protected override CommandTargets SupportedTargets { get; }

Overrides: RichTextBoxCommandBase.SupportedTargets

Methods

Interprets parameter as a preset layout and applies the resulting column collection when parsing succeeds.

C#
protected override void ExecuteOverride(object parameter)
Parameters:parameterobject

A SectionColumnsLayout value or a string that can be parsed as one. On WPF builds, a framework element whose Tag contains a parseable layout name is also accepted.

Overrides: RichTextBoxCommandBase.ExecuteOverride(object)