Specifies how a command's availability is checked when document protection is enforced.
Definition
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public enum CanExecuteBehaviorInProtectedDocument
Fields
Allows the command regardless of the caret or selection's permission ranges.
C#
Always = 0
With an empty selection, requires the caret to be in an editable permission range when an inline is present; a non-empty selection must avoid protected permission ranges.
C#
InPermissionRange = 1
Disables the command while document protection is enforced.
C#
Never = 2