Show / Hide Table of Contents

Class ViewerPageSettingsViewModel

All the settings regarding the current ViewerPage are centralized here.

Inheritance
System.Object
ViewModelBase
ViewerPageSettingsViewModel
Inherited Members
ViewModelBase.PropertyChanged
ViewModelBase.Set<T>(T, T, String)
ViewModelBase.RaisePropertyChanged(String)
ViewModelBase.GoBack()
Namespace: pdftron.PDF.Tools.Controls.ViewModels.Viewer.Settings
Assembly: pdftron.PDF.Tools.dll
Syntax
public class ViewerPageSettingsViewModel : ViewModelBase

Constructors

ViewerPageSettingsViewModel()

Declaration
public ViewerPageSettingsViewModel()

ViewerPageSettingsViewModel(PdfViewCtrlTabInfo)

Declaration
public ViewerPageSettingsViewModel(PdfViewCtrlTabInfo tab)
Parameters
Type Name Description
PdfViewCtrlTabInfo tab

Fields

SEPIA_BLACK

Declaration
public static Color SEPIA_BLACK
Field Value
Type Description
Windows.UI.Color

SEPIA_WHITE

Declaration
public static Color SEPIA_WHITE
Field Value
Type Description
Windows.UI.Color

Properties

CanCrop

Declaration
public bool CanCrop { get; }
Property Value
Type Description
System.Boolean

ColorMode

Declaration
public CustomColorModeType ColorMode { get; set; }
Property Value
Type Description
CustomColorModeType

CropViewCommand

Declaration
public RelayCommand CropViewCommand { get; }
Property Value
Type Description
RelayCommand

CustomColorCommand

Declaration
public RelayCommand CustomColorCommand { get; }
Property Value
Type Description
RelayCommand

ExitFullScreenCommand

Declaration
public RelayCommand ExitFullScreenCommand { get; }
Property Value
Type Description
RelayCommand

FullScreenCommand

Declaration
public RelayCommand FullScreenCommand { get; }
Property Value
Type Description
RelayCommand

IsContinuousOption

Declaration
public bool IsContinuousOption { get; set; }
Property Value
Type Description
System.Boolean

IsConverting

Declaration
public bool IsConverting { get; }
Property Value
Type Description
System.Boolean

IsCropViewVisible

Change the visbility of the Crop View button

Declaration
public bool IsCropViewVisible { get; set; }
Property Value
Type Description
System.Boolean

IsCurrentPagePresentationModeFacing

Declaration
public bool IsCurrentPagePresentationModeFacing { get; }
Property Value
Type Description
System.Boolean

IsCurrentPagePresentationModeFacingCover

Declaration
public bool IsCurrentPagePresentationModeFacingCover { get; }
Property Value
Type Description
System.Boolean

IsCurrentPagePresentationModeSinglePage

Declaration
public bool IsCurrentPagePresentationModeSinglePage { get; }
Property Value
Type Description
System.Boolean

IsFullScreen

Declaration
public bool IsFullScreen { get; }
Property Value
Type Description
System.Boolean

IsReflow

Declaration
public bool IsReflow { get; set; }
Property Value
Type Description
System.Boolean

IsRightToLeftEnabled

Enable Right To Left reading direction for the current selected tab

Declaration
public bool IsRightToLeftEnabled { get; set; }
Property Value
Type Description
System.Boolean

IsRightToLeftVisible

Change the visibility of the Right to Left reading direction option

Declaration
public bool IsRightToLeftVisible { get; set; }
Property Value
Type Description
System.Boolean

IsThumbnailViewVisible

Change the visbility of the ThumbnailView button

Declaration
public bool IsThumbnailViewVisible { get; set; }
Property Value
Type Description
System.Boolean

PagePresentationMode

Declaration
public PDFViewCtrlPagePresentationMode PagePresentationMode { get; set; }
Property Value
Type Description
PDFViewCtrlPagePresentationMode

PagePresentationModeCommand

Declaration
public RelayCommand PagePresentationModeCommand { get; }
Property Value
Type Description
RelayCommand

PDFViewCtrl

Declaration
public PDFViewCtrl PDFViewCtrl { set; }
Property Value
Type Description
PDFViewCtrl

ReflowCommand

Declaration
public RelayCommand ReflowCommand { get; }
Property Value
Type Description
RelayCommand

RotateCommand

Declaration
public RelayCommand RotateCommand { get; }
Property Value
Type Description
RelayCommand

ThumbnailViewCommand

Declaration
public RelayCommand ThumbnailViewCommand { get; }
Property Value
Type Description
RelayCommand

Methods

CleanUp()

Important to call this when done, as the subscription to ApplicationView.GetForCurrentView().VisibleBoundsChanged prevents it from being GCd

Declaration
public void CleanUp()

UpdateSettings()

Declaration
public void UpdateSettings()

Events

ViewRequestedHandler

Declaration
public event ViewerPageSettingsViewModel.ViewRequestedDelegate ViewRequestedHandler
Event Type
Type Description
ViewerPageSettingsViewModel.ViewRequestedDelegate

VisibleBoundsChanged

Declaration
public event TypedEventHandler<ApplicationView, object> VisibleBoundsChanged
Event Type
Type Description
Windows.Foundation.TypedEventHandler<Windows.UI.ViewManagement.ApplicationView, System.Object>
In This Article
Back to top Generated by DocFX