Class
PermissionRange

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:

cs-api-definition
public class PermissionRange

Inheritance: objectPermissionRange

Constructors

PermissionRange(RadFlowDocument, PermissionRangeCredentials)

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

Declaration

cs-api-definition
public PermissionRange(RadFlowDocument document, PermissionRangeCredentials permissionRangeCredentials)

Parameters

document

RadFlowDocument

The document.

permissionRangeCredentials

PermissionRangeCredentials

The permission range credentials.

PermissionRange(RadFlowDocument, PermissionRangeCredentials, int?, int?)

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

Declaration

cs-api-definition
public PermissionRange(RadFlowDocument document, PermissionRangeCredentials permissionRangeCredentials, int? fromColumn, int? toColumn)

Parameters

document

RadFlowDocument

The document.

permissionRangeCredentials

PermissionRangeCredentials

The permission range credentials.

fromColumn

int?

From column.

toColumn

int?

To column.

Properties

Credentials

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

Declaration

cs-api-definition
public PermissionRangeCredentials Credentials { get; }

Property Value

PermissionRangeCredentials

The permission range credentials.

Document

Gets the document that contains this permission range.

Declaration

cs-api-definition
public RadFlowDocument Document { get; }

Property Value

RadFlowDocument

The document.

End

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

Declaration

cs-api-definition
public PermissionRangeEnd End { get; }

Property Value

PermissionRangeEnd

The permission range end.

FromColumn

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

Declaration

cs-api-definition
public int? FromColumn { get; }

Property Value

int?

From column.

Start

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

Declaration

cs-api-definition
public PermissionRangeStart Start { get; }

Property Value

PermissionRangeStart

The permission range start.

ToColumn

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

Declaration

cs-api-definition
public int? ToColumn { get; }

Property Value

int?

To column.