ClassPermissionRange
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:
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
public PermissionRange(RadFlowDocument document, PermissionRangeCredentials permissionRangeCredentials)
Parameters
document
The document.
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
public PermissionRange(RadFlowDocument document, PermissionRangeCredentials permissionRangeCredentials, int? fromColumn, int? toColumn)
Parameters
document
The document.
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
public PermissionRangeCredentials Credentials { get; }
Property Value
The permission range credentials.
Document
Gets the document that contains this permission range.
Declaration
public RadFlowDocument Document { get; }
Property Value
The document.
End
Gets the annotation marker that terminates this permission range within the document content.
Declaration
public PermissionRangeEnd End { get; }
Property Value
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.
Start
Gets the annotation marker that begins this permission range within the document content.
Declaration
public PermissionRangeStart Start { get; }
Property Value
The permission range start.