Class PasswordFileViewModel
Inheritance
System.Object
PasswordFileViewModel
Assembly: pdftron.PDF.Tools.dll
public class PasswordFileViewModel : ViewModelBase
Constructors
Declaration
public PasswordFileViewModel()
Properties
Declaration
public RelayCommand CancelCommand { get; }
Property Value
Declaration
public string CurrentPassword { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public bool IsOkEnabled { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool IsPopupOpen { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsProtectedText
Declaration
public string IsProtectedText { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public RelayCommand OkCommand { get; }
Property Value
Methods
Declaration
public Tuple<bool, string> ApplyPassword(PDFDoc doc)
Parameters
Type |
Name |
Description |
PDFDoc |
doc |
|
Returns
Type |
Description |
Tuple<System.Boolean, System.String> |
|
Events
Declaration
public event PasswordFileViewModel.PasswordConfirmedDelegate PasswordConfirmed
Event Type
Declaration
public event PasswordFileViewModel.PopupClosedDelegate PopupClosed
Event Type