Show / Hide Table of Contents

Class OutlineDialogViewModel

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

Constructors

OutlineDialogViewModel()

Declaration
public OutlineDialogViewModel()

OutlineDialogViewModel(PDFViewCtrl)

Declaration
public OutlineDialogViewModel(PDFViewCtrl ctrl)
Parameters
Type Name Description
PDFViewCtrl ctrl

Properties

AddBookmarkCommand

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

AnnotationList

Declaration
public AnnotationList AnnotationList { get; set; }
Property Value
Type Description
AnnotationList

CloseCommand

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

CloseDialogOnItemClick

Gets or sets whether clicking on an item should collapse the outline.

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

DocumentTag

Declaration
public string DocumentTag { get; set; }
Property Value
Type Description
System.String

FadeAnimation

Declaration
public Storyboard FadeAnimation { get; set; }
Property Value
Type Description
Windows.UI.Xaml.Media.Animation.Storyboard

HasUnsavedUserbookmarks

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

Isconverting

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

IsOutlineEditingEnabled

Enable weather the ability to edit the outline is enabled or disabled

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

IsPivotItemAnnotationsEnabled

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

IsPivotItemBookmarksEnabled

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

IsPivotItemOutlineEnabled

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

IsPivotItemThumbnailsEnabled

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

NavigationStack

Declaration
public NavigationStack NavigationStack { get; set; }
Property Value
Type Description
NavigationStack

NumberOfColumns

Declaration
public int NumberOfColumns { get; }
Property Value
Type Description
System.Int32

Outline

Declaration
public Outline Outline { get; set; }
Property Value
Type Description
Outline

PDFViewCtrl

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

SelectionChangedCommand

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

SetNumColumnsCommand

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

SubView

Declaration
public SubViews SubView { get; set; }
Property Value
Type Description
SubViews

SubViewIndex

Declaration
public int SubViewIndex { get; set; }
Property Value
Type Description
System.Int32

SubViewSelectionCommand

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

SwitchSidesCommand

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

Thumbnails

Declaration
public ThumbnailViewer Thumbnails { get; set; }
Property Value
Type Description
ThumbnailViewer

UserBookmarks

Declaration
public UserBookmarkControl UserBookmarks { get; set; }
Property Value
Type Description
UserBookmarkControl

Methods

ActivateSubView()

Declaration
public void ActivateSubView()

CancelAllViewModels()

Declaration
public Task CancelAllViewModels()
Returns
Type Description
Task

CleanUpSubViewsAsync()

Declaration
public Task CleanUpSubViewsAsync()
Returns
Type Description
Task

Dispose()

Unsubscribes the objects within this class from events and sets them to null.

Declaration
public void Dispose()

GetState()

Declaration
public OutlineDialogStateBundle GetState()
Returns
Type Description
OutlineDialogStateBundle

GoBack()

Declaration
public override bool GoBack()
Returns
Type Description
System.Boolean
Overrides
ViewModelBase.GoBack()

InteractionOutsideDialog()

Call this function to indicate that the user has interacted outside the Outline Dialog

Declaration
public void InteractionOutsideDialog()

RestoreState(OutlineDialogStateBundle)

Declaration
public void RestoreState(OutlineDialogStateBundle stateBundle)
Parameters
Type Name Description
OutlineDialogStateBundle stateBundle

SaveBookmarks()

Declaration
public void SaveBookmarks()

Events

DocumentModified

Declaration
public event OutlineDialogViewModel.DocumentModifiedEventHandler DocumentModified
Event Type
Type Description
OutlineDialogViewModel.DocumentModifiedEventHandler

PageChanged

Declaration
public event OutlineDialogViewModel.PageChangedDelegate PageChanged
Event Type
Type Description
OutlineDialogViewModel.PageChangedDelegate

RequestClosing

Declaration
public event EventHandler RequestClosing
Event Type
Type Description
EventHandler

RequestSwitchSide

Declaration
public event EventHandler RequestSwitchSide
Event Type
Type Description
EventHandler

UserBookmarksEdited

Declaration
public event OutlineDialogViewModel.UserBookmarksEditedEventHandler UserBookmarksEdited
Event Type
Type Description
OutlineDialogViewModel.UserBookmarksEditedEventHandler

Implements

IDisposable
In This Article
Back to top Generated by DocFX