Class ToggleDocumentProtectionCommand
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.
Inherited Members
Namespace: Telerik.Windows.Documents.RichTextBoxCommands
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class ToggleDocumentProtectionCommand : ToggleCommandBase, ICommand
Constructors
ToggleDocumentProtectionCommand(RadRichTextBox)
Declaration
public ToggleDocumentProtectionCommand(RadRichTextBox editor)
Parameters
RadRichTextBox
editor
|
Properties
CanExecuteBehaviorInProtectedDocument
Declaration
protected override CanExecuteBehaviorInProtectedDocument CanExecuteBehaviorInProtectedDocument { get; }
Property Value
CanExecuteBehaviorInProtectedDocument
|
Overrides
CanExecuteInReadOnlyRange
Declaration
protected override bool CanExecuteInReadOnlyRange { get; }
Property Value
System.Boolean
|
Overrides
Methods
ExecuteOverride(Object)
Declaration
protected override void ExecuteOverride(object parameter)
Parameters
System.Object
parameter
|
Overrides
GetToggleState()
Declaration
protected override bool GetToggleState()
Returns
System.Boolean
|