Class DocumentProtectionSettings
Class describing the protection settings which can be applied on a Rad
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Documents.Model
Assembly: Telerik.WinControls.RichTextEditor.dll
Syntax
public class DocumentProtectionSettings : INotifyPropertyChanged
Constructors
DocumentProtectionSettings()
Initializes a new instance of the Document
Declaration
public DocumentProtectionSettings()
DocumentProtectionSettings(DocumentProtectionSettings)
Initializes a new instance of the Document
Declaration
public DocumentProtectionSettings(DocumentProtectionSettings source)
Parameters
Document The source. |
Properties
EnableDocumentProtection
Gets or sets a value indicating whether the document protection is enabled.
Declaration
[XamlSerializable]
public bool EnableDocumentProtection { get; set; }
Property Value
System.
|
Enforce
Gets or sets a value indicating whether this Document
Declaration
[XamlSerializable]
public bool Enforce { get; set; }
Property Value
System.
|
HashingAlgorithm
Declaration
[XamlSerializable]
public HashingAlgorithm HashingAlgorithm { get; set; }
Property Value
Hashing The hashing algorithm. |
HashingSpinCount
Gets or sets the count of hashing spins which should be used when protecting.
Declaration
[XamlSerializable]
public int HashingSpinCount { get; set; }
Property Value
System. The hashing spin count. |
HasPassword
Gets a value indicating whether this instance has password.
Declaration
public bool HasPassword { get; }
Property Value
System.
|
IsHashingAlgorithmSupported
Gets a value indicating whether the Hashing
Declaration
public bool IsHashingAlgorithmSupported { get; }
Property Value
System.
|
PasswordHash
Gets or sets the password hash.
Declaration
[XamlSerializable]
public string PasswordHash { get; set; }
Property Value
System. The password hash. |
ProtectionMode
Gets or sets the protection mode.
Declaration
[XamlSerializable]
public DocumentProtectionMode ProtectionMode { get; set; }
Property Value
Document The protection mode. |
Salt
Gets or sets the salt.
Declaration
[XamlSerializable]
public string Salt { get; set; }
Property Value
System. The salt. |
Methods
Equals(Object)
Determines whether the specified System.
Declaration
public override bool Equals(object obj)
Parameters
System. The System. |
Returns
System.
|
Overrides
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
System. A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. |
Overrides
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.
|
Operators
Equality(DocumentProtectionSettings, DocumentProtectionSettings)
Implements the operator ==.
Declaration
public static bool operator ==(DocumentProtectionSettings first, DocumentProtectionSettings second)
Parameters
Document The first. |
Document The second. |
Returns
System. The result of the operator. |
Inequality(DocumentProtectionSettings, DocumentProtectionSettings)
Implements the operator !=.
Declaration
public static bool operator !=(DocumentProtectionSettings first, DocumentProtectionSettings second)
Parameters
Document The first. |
Document The second. |
Returns
System. The result of the operator. |