New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Constructors

C#
public ToggleDifferentOddAndEvenPagesHeaderFooterCommand(RadRichTextBox radRichTextBox)
Parameters:radRichTextBoxRadRichTextBox

Properties

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

C#
protected override CanExecuteBehaviorInProtectedDocument CanExecuteBehaviorInProtectedDocument { get; }

Overrides: RichTextBoxCommandBase.CanExecuteBehaviorInProtectedDocument

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

C#
protected override bool CanExecuteInReadOnlyRange { get; }

Overrides: RichTextBoxCommandBase.CanExecuteInReadOnlyRange

Methods

Performs the execute action specific to the command.

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

The command parameter.

Overrides: RichTextBoxCommandBase.ExecuteOverride(object)

C#
protected override bool GetToggleState()
Returns:

bool

Overrides: ToggleCommandBase.GetToggleState()

C#
protected override void UpdateSectionStyle()

Overrides: RichTextBoxCommandBase.UpdateSectionStyle()