New to Telerik Document ProcessingStart a free 30-day trial

Defines an editable region within a protected document by pairing start and end markers with user or group credentials.

Definition

Namespace:Telerik.Windows.Documents.Flow.Model.Protection

Assembly:Telerik.Windows.Documents.Flow.dll

Syntax:

C#
public class PermissionRange

Inheritance: objectPermissionRange

Constructors

Creates a permission range for the specified document with the given credentials, restricting editing rights to a column span within table rows.

C#
public PermissionRange(RadFlowDocument document, PermissionRangeCredentials permissionRangeCredentials, int? fromColumn, int? toColumn)
Parameters:documentRadFlowDocument

The document.

permissionRangeCredentialsPermissionRangeCredentials

The permission range credentials.

fromColumnint?

From column.

toColumnint?

To column.

Creates a permission range for the specified document with the given credentials, allowing editing rights across the entire range.

C#
public PermissionRange(RadFlowDocument document, PermissionRangeCredentials permissionRangeCredentials)
Parameters:documentRadFlowDocument

The document.

permissionRangeCredentialsPermissionRangeCredentials

The permission range credentials.

Properties

Gets the credentials that specify which users or groups can edit within this permission range.

C#
public PermissionRangeCredentials Credentials { get; }
Property Value:

The permission range credentials.

Gets the document that contains this permission range.

C#
public RadFlowDocument Document { get; }
Property Value:

The document.

Gets the annotation marker that terminates this permission range within the document content.

C#
public PermissionRangeEnd End { get; }
Property Value:

The permission range end.

Gets the zero-based index of the first column included in this permission when applied to table rows, or null for full-range permissions.

C#
public int? FromColumn { get; }
Property Value:

From column.

Gets the annotation marker that begins this permission range within the document content.

C#
public PermissionRangeStart Start { get; }
Property Value:

The permission range start.

Gets the zero-based index of the last column included in this permission when applied to table rows, or null for full-range permissions.

C#
public int? ToColumn { get; }
Property Value:

To column.