Class
ChangeSectionHeaderFooterMarginBase

Changes the margin of the header or footer in a section.

Definition

Namespace:Telerik.Windows.Documents.RichTextBoxCommands

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public abstract class ChangeSectionHeaderFooterMarginBase : RichTextBoxCommandBase, ICommand

Inheritance: objectRichTextBoxCommandBaseChangeSectionHeaderFooterMarginBase

Derived Classes: ChangeSectionFooterBottomMarginCommandChangeSectionHeaderTopMarginCommand

Implements: ICommand

Inherited Members RichTextBoxCommandBase.CanExecute(object)RichTextBoxCommandBase.CanExecuteOverride(object)RichTextBoxCommandBase.Execute()RichTextBoxCommandBase.Execute(object)RichTextBoxCommandBase.GetSelectedInlineOrSelectCurrent()RichTextBoxCommandBase.Execute(object, bool)RichTextBoxCommandBase.ExecuteOverride(object)RichTextBoxCommandBase.UpdateSpanStyle()RichTextBoxCommandBase.UpdateSectionStyle()RichTextBoxCommandBase.GetCurrentParagraphStyle()RichTextBoxCommandBase.GetCurrentSpanStyle()RichTextBoxCommandBase.GetCurrentSectionStyle()RichTextBoxCommandBase.OnCanExecuteChanged()RichTextBoxCommandBase.AssociatedRichTextBoxRichTextBoxCommandBase.CanExecuteInReadOnlyModeRichTextBoxCommandBase.IsDeletingCommandRichTextBoxCommandBase.SupportedTargetsRichTextBoxCommandBase.EnabledRichTextBoxCommandBase.CanExecuteChanged

Constructors

ChangeSectionHeaderFooterMarginBase(RadRichTextBox)

Declaration

cs-api-definition
public ChangeSectionHeaderFooterMarginBase(RadRichTextBox radRichTextBox)

Parameters

radRichTextBox

RadRichTextBox

Properties

CanExecuteBehaviorInProtectedDocument

Gets a value indicating whether the behavior of the command can be executed in a protected document.

Declaration

cs-api-definition
protected override CanExecuteBehaviorInProtectedDocument CanExecuteBehaviorInProtectedDocument { get; }

Property Value

CanExecuteBehaviorInProtectedDocument

Overrides RichTextBoxCommandBase.CanExecuteBehaviorInProtectedDocument

CanExecuteInReadOnlyRange

Gets a value indicating whether this command can be executed when editing context is read-only. The default implementation returns false.

Declaration

cs-api-definition
protected override bool CanExecuteInReadOnlyRange { get; }

Property Value

bool

Overrides RichTextBoxCommandBase.CanExecuteInReadOnlyRange

ShouldFocusCaretAfterExecute

Declaration

cs-api-definition
protected override bool ShouldFocusCaretAfterExecute { get; }

Property Value

bool

Overrides RichTextBoxCommandBase.ShouldFocusCaretAfterExecute

Methods

OnHeaderFooterMarginChanged(StylePropertyChangedEventArgs<int>)

Declaration

cs-api-definition
protected virtual void OnHeaderFooterMarginChanged(StylePropertyChangedEventArgs<int> e)

Parameters

e

StylePropertyChangedEventArgs<int>

Events

HeaderFooterMarginChanged

Declaration

cs-api-definition
public event EventHandler<StylePropertyChangedEventArgs<int>> HeaderFooterMarginChanged

Event Value

EventHandler<StylePropertyChangedEventArgs<int>>