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

Changes the footer's bottom margin for the section or sections identified by the editor's current selection.

Definition

Constructors

Creates a command that changes selected sections' footer bottom margin.

C#
public ChangeSectionFooterBottomMarginCommand(RadRichTextBox radRichTextBox)
Parameters:radRichTextBoxRadRichTextBox

The editor whose selected sections are updated.

Properties

Disables the command when document protection is enforced.

C#
protected override CanExecuteBehaviorInProtectedDocument CanExecuteBehaviorInProtectedDocument { get; }

Overrides: ChangeSectionHeaderFooterMarginBase.CanExecuteBehaviorInProtectedDocument

Methods

Requests the section update for a non-negative integer margin value; editing permissions may prevent the change.

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

A non-negative int or a string representing one. Negative integers and strings that do not parse as a non-negative integer are ignored.

Overrides: RichTextBoxCommandBase.ExecuteOverride(object)

Raises the margin-change event when the current section's footer bottom margin differs from the cached value.

C#
protected override void UpdateSectionStyle()

Overrides: RichTextBoxCommandBase.UpdateSectionStyle()

Refreshes the observed footer bottom margin when the current span style changes.

C#
protected override void UpdateSpanStyle()

Overrides: RichTextBoxCommandBase.UpdateSpanStyle()