Executes the command that toggles the document protection state. This command can enable or disable protection for the document, allowing users to either modify the document content or restrict modifications based on the current state.
Definition
Namespace:Telerik.Windows.Documents.RichTextBoxCommands
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class ToggleDocumentProtectionCommand : ToggleCommandBase, ICommand
Inheritance: objectRichTextBoxCommandBaseToggleCommandBaseToggleDocumentProtectionCommand
Implements:
Inherited Members
Constructors
Properties
Gets a value indicating whether the behavior of the command can be executed in a protected document.
protected override CanExecuteBehaviorInProtectedDocument CanExecuteBehaviorInProtectedDocument { get; }
Overrides:
Gets a value indicating whether this command can be executed when editing context is read-only. The default implementation returns false.
protected override bool CanExecuteInReadOnlyRange { get; }
Overrides:
Methods
Performs the execute action specific to the command.
protected override void ExecuteOverride(object parameter)
The command parameter.
Overrides:
protected override void UpdateSpanStyle()
Overrides: