Class OutlineDialogViewModel
Inheritance
System.Object
OutlineDialogViewModel
Assembly: pdftron.PDF.Tools.dll
public class OutlineDialogViewModel : ViewModelBase, IDisposable
Constructors
Declaration
public OutlineDialogViewModel()
Declaration
public OutlineDialogViewModel(PDFViewCtrl ctrl)
Parameters
Type |
Name |
Description |
PDFViewCtrl |
ctrl |
|
Properties
Declaration
public RelayCommand AddBookmarkCommand { get; }
Property Value
Declaration
public AnnotationList AnnotationList { get; set; }
Property Value
Declaration
public RelayCommand CloseCommand { get; }
Property Value
Gets or sets whether clicking on an item should collapse the outline.
Declaration
public bool CloseDialogOnItemClick { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public string DocumentTag { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public Storyboard FadeAnimation { get; set; }
Property Value
Type |
Description |
Windows.UI.Xaml.Media.Animation.Storyboard |
|
Declaration
public bool HasUnsavedUserbookmarks { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool Isconverting { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Enable weather the ability to edit the outline is enabled or disabled
Declaration
public bool IsOutlineEditingEnabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool IsPivotItemAnnotationsEnabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool IsPivotItemBookmarksEnabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool IsPivotItemOutlineEnabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool IsPivotItemThumbnailsEnabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public NavigationStack NavigationStack { get; set; }
Property Value
Declaration
public int NumberOfColumns { get; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public Outline Outline { get; set; }
Property Value
Declaration
public PDFViewCtrl PDFViewCtrl { get; set; }
Property Value
Type |
Description |
PDFViewCtrl |
|
Declaration
public RelayCommand SelectionChangedCommand { get; }
Property Value
Declaration
public RelayCommand SetNumColumnsCommand { get; }
Property Value
Declaration
public SubViews SubView { get; set; }
Property Value
Declaration
public int SubViewIndex { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public RelayCommand SubViewSelectionCommand { get; }
Property Value
Declaration
public RelayCommand SwitchSidesCommand { get; }
Property Value
Declaration
public ThumbnailViewer Thumbnails { get; set; }
Property Value
Declaration
public UserBookmarkControl UserBookmarks { get; set; }
Property Value
Methods
Declaration
public void ActivateSubView()
Declaration
public Task CancelAllViewModels()
Returns
Declaration
public Task CleanUpSubViewsAsync()
Returns
Unsubscribes the objects within this class from events and sets them to null.
Declaration
Declaration
public OutlineDialogStateBundle GetState()
Returns
Declaration
public override bool GoBack()
Returns
Type |
Description |
System.Boolean |
|
Overrides
Call this function to indicate that the user has interacted outside the Outline Dialog
Declaration
public void InteractionOutsideDialog()
Declaration
public void RestoreState(OutlineDialogStateBundle stateBundle)
Parameters
Declaration
public void SaveBookmarks()
Events
Declaration
public event OutlineDialogViewModel.DocumentModifiedEventHandler DocumentModified
Event Type
PageChanged
Declaration
public event OutlineDialogViewModel.PageChangedDelegate PageChanged
Event Type
Declaration
public event EventHandler RequestClosing
Event Type
Type |
Description |
EventHandler |
|
Declaration
public event EventHandler RequestSwitchSide
Event Type
Type |
Description |
EventHandler |
|
Declaration
public event OutlineDialogViewModel.UserBookmarksEditedEventHandler UserBookmarksEdited
Event Type
Implements
IDisposable