Class ThumbnailsViewViewModel
Inheritance
System.Object
ThumbnailsViewViewModel
Assembly: pdftron.PDF.Tools.dll
public class ThumbnailsViewViewModel : ViewModelBase
Constructors
Declaration
public ThumbnailsViewViewModel(PDFViewCtrl ctrl, string docTag, ICloseableControl view)
Parameters
Fields
Declaration
protected readonly ResourceLoader _loader
Field Value
Type |
Description |
Windows.ApplicationModel.Resources.ResourceLoader |
|
Properties
Declaration
public RelayCommand AddImageCommand { get; }
Property Value
AddPageCommand
Declaration
public RelayCommand AddPageCommand { get; }
Property Value
Declaration
public RelayCommand AddPDFCommand { get; }
Property Value
Declaration
public RelayCommand ClearSelectionCommand { get; }
Property Value
Declaration
public RelayCommand CloseCommand { get; }
Property Value
Declaration
public ThumbnailItem CurrentItem { get; }
Property Value
Declaration
public RelayCommand DeleteCommand { get; }
Property Value
Declaration
public RelayCommand DoneEditingCommand { get; }
Property Value
Enable double tap to open/navigate selected thumbnail to a page. Default is single tap to open
Declaration
public bool DoubleTapToNavigate { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public RelayCommand DuplicateCommand { get; }
Property Value
Declaration
public RelayCommand EditCommand { get; }
Property Value
Declaration
public bool EnabledThumbnailOverlay { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ExportSelectedPagesCommand
Declaration
public RelayCommand ExportSelectedPagesCommand { get; }
Property Value
Declaration
public bool HasSelectedItems { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public Size ImageMaxDimensions { get; set; }
Property Value
Type |
Description |
Windows.Foundation.Size |
|
Declaration
public RelayCommand InsertImageCommand { get; }
Property Value
InsertPageCommand
Declaration
public RelayCommand InsertPageCommand { get; }
Property Value
Declaration
public RelayCommand InsertPDFCommand { get; }
Property Value
Declaration
public bool IsConverting { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool IsInEditMode { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool IsSelectButtonVisible { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public RelayCommand ItemClickCommand { get; }
Property Value
Declaration
public NavigationStack NavigationStack { get; set; }
Property Value
Declaration
public int NumberOfSelectedItems { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
PageDefaultColor
Declaration
public Color PageDefaultColor { get; set; }
Property Value
Type |
Description |
Windows.UI.Color |
|
Declaration
public IPasswordUserControl PasswordUserControl { get; }
Property Value
Gets or sets whether this ViewModel is paused.
Settings the ViewModel to paused will not stop any current requests, but
will prevent it from generating new ones.zd
Declaration
public bool Pause { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool ReadOnly { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public RelayCommand RotateCommand { get; }
Property Value
Declaration
public RelayCommand SelectionChangedCommand { get; }
Property Value
Declaration
public ListViewSelectionMode SelectionMode { get; set; }
Property Value
Type |
Description |
Windows.UI.Xaml.Controls.ListViewSelectionMode |
|
Declaration
public ObservableCollectionWithAsyncResource<ThumbnailItem, ThumbInfo> ThumbnailsList { get; }
Property Value
Declaration
public ToolManager ToolManager { get; set; }
Property Value
Declaration
public bool WindowsEditingStyle { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
AddBlankPage(Boolean, Int32)
Declaration
public void AddBlankPage(bool beforePage, int pageNumber)
Parameters
Type |
Name |
Description |
System.Boolean |
beforePage |
|
System.Int32 |
pageNumber |
|
Declaration
DuplicatePage(Int32)
Declaration
public void DuplicatePage(int pageNumber)
Parameters
Type |
Name |
Description |
System.Int32 |
pageNumber |
|
Declaration
public override bool GoBack()
Returns
Type |
Description |
System.Boolean |
|
Overrides
PageModified(Int32)
Declaration
public void PageModified(int pageNumber)
Parameters
Type |
Name |
Description |
System.Int32 |
pageNumber |
|
Declaration
Declaration
public void ThumbnailViewerDoubleTapped(object sender, DoubleTappedRoutedEventArgs e)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
Windows.UI.Xaml.Input.DoubleTappedRoutedEventArgs |
e |
|
Events
PageAdded
Declaration
public event ThumbnailsViewViewModel.PageAddedDelegate PageAdded
Event Type
PageClicked
Declaration
public event ThumbnailsViewViewModel.PageClickedDelegate PageClicked
Event Type
PageDeleted
Declaration
public event ThumbnailsViewViewModel.PageDeletedDelegate PageDeleted
Event Type
PageMoved
Declaration
public event ThumbnailsViewViewModel.PageMovedDelegate PageMoved
Event Type
Declaration
public event ThumbnailsViewViewModel.PageRotatedDelegate PageRotated
Event Type
Declaration
public event ThumbnailsViewViewModel.ThumbnailReceivedDelegate ThumbnailReceived
Event Type