Class PermissionRange
Defines an editable region within a protected document by pairing start and end markers with user or group credentials.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model.Protection
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public class PermissionRange
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
|
RadFlowDocument
document
The document. |
|
PermissionRangeCredentials
permissionRangeCredentials
The permission range credentials. |
PermissionRange(RadFlowDocument, PermissionRangeCredentials, Nullable<Int32>, Nullable<Int32>)
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
|
RadFlowDocument
document
The document. |
|
PermissionRangeCredentials
permissionRangeCredentials
The permission range credentials. |
|
System.Nullable<System.Int32>
fromColumn
From column. |
|
System.Nullable<System.Int32>
toColumn
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
|
PermissionRangeCredentials
The permission range credentials. |
Document
Gets the document that contains this permission range.
Declaration
public RadFlowDocument Document { get; }
Property Value
|
RadFlowDocument
The document. |
End
Gets the annotation marker that terminates this permission range within the document content.
Declaration
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
public int? FromColumn { get; }
Property Value
|
System.Nullable<System.Int32>
From column. |
Start
Gets the annotation marker that begins this permission range within the document content.
Declaration
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
public int? ToColumn { get; }
Property Value
|
System.Nullable<System.Int32>
To column. |