New to Telerik UI for WinForms? Start a free 30-day trial

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
In this article
DefinitionFieldsAlwaysInPermissionRangeNever
Not finding the help you need?
Contact Support