Changes the header's top margin for the section or sections identified by the editor's current selection.
Definition
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class ChangeSectionHeaderTopMarginCommand : ChangeSectionHeaderFooterMarginBase, ICommand
Inheritance: objectRichTextBoxCommandBaseChangeSectionHeaderFooterMarginBaseChangeSectionHeaderTopMarginCommand
Implements:
Inherited Members
Constructors
Creates a command that changes selected sections' header top margin.
public ChangeSectionHeaderTopMarginCommand(RadRichTextBox radRichTextBox)
The editor whose selected sections are updated.
Properties
Disables the command when document protection is enforced.
protected override CanExecuteBehaviorInProtectedDocument CanExecuteBehaviorInProtectedDocument { get; }
Overrides:
Methods
Requests the section update for a non-negative integer margin value; editing permissions may prevent the change.
Raises the margin-change event when the current section's header top margin differs from the cached value.
protected override void UpdateSectionStyle()
Overrides:
Refreshes the observed header top margin when the current span style changes.
protected override void UpdateSpanStyle()
Overrides: