Class Outline
The Outline class shows a document outline (bookmarks) that can be used to navigate the
Document in the PDFViewCtrl.
Inheritance
System.Object
Windows.UI.Xaml.DependencyObject
Windows.UI.Xaml.UIElement
Windows.UI.Xaml.FrameworkElement
Windows.UI.Xaml.Controls.Control
Windows.UI.Xaml.Controls.UserControl
Outline
Implements
Windows.UI.Composition.IAnimationObject
Windows.UI.Composition.IVisualElement
Assembly: pdftron.PDF.Tools.dll
public sealed class Outline : UserControl, IDependencyObject, IDependencyObject2, IUIElement, IUIElement2, IUIElement3, IUIElement4, IUIElement5, IUIElement7, IUIElement8, IUIElement9, IUIElement10, IUIElementOverrides, IUIElementOverrides7, IUIElementOverrides8, IUIElementOverrides9, IAnimationObject, IVisualElement, IFrameworkElement, IFrameworkElement2, IFrameworkElement3, IFrameworkElement4, IFrameworkElement6, IFrameworkElement7, IFrameworkElementProtected7, IFrameworkElementOverrides, IFrameworkElementOverrides2, IControl, IControl2, IControl3, IControl4, IControl5, IControl7, IControlProtected, IControlOverrides, IControlOverrides6, IUserControl
Constructors
Creates a new outline (bookmark) control without any association with a PDFViewCtrl.
Use the PDFViewCtrl property to associated the outline control with a document and populate it.
Declaration
Creates a new outline (bookmark) control associated with a PDFViewCtrl. The control will show the bookmarks
in the document that is open in the PDFViewCtrl.
Declaration
public Outline(PDFViewCtrl ctrl)
Parameters
Type |
Name |
Description |
PDFViewCtrl |
ctrl |
|
Fields
Declaration
public Outline.DocumentModifiedEventHandler DocumentModified
Field Value
PageChanged
Declaration
public Outline.PageChangedDelegate PageChanged
Field Value
Properties
Declaration
public string DocumentTitle { get; set; }
Property Value
Type |
Description |
System.String |
|
Enable weather the ability to edit the outline is enabled or disabled
Declaration
public bool IsEditEnabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public NavigationStack NavigationStack { get; set; }
Property Value
The PDFViewCtrl form which the outline should get the document with PDFs.
Declaration
public PDFViewCtrl PDFViewCtrl { get; set; }
Property Value
Type |
Description |
PDFViewCtrl |
|
Declaration
public OutlineViewModel ViewModel { get; }
Property Value
Methods
Unsubscribes the ViewModel from events and Disposes the ViewModel
Declaration
Declaration
public List<int> GetState()
Returns
Type |
Description |
List<System.Int32> |
|
Will go back if possible.
Declaration
Returns
Type |
Description |
System.Boolean |
Return true if it went back, false otherwise
|
Animates the Bookmarks panel of the screen.
Declaration
Resets the Bookmark display, so that next time it will create bookmarks from scratch.
Declaration
Declaration
public void RestoreState(List<int> list)
Parameters
Type |
Name |
Description |
List<System.Int32> |
list |
|
Animates the Bookmarks panel onto the screen.
Declaration
Returns
Declaration
public Task WaitForOutlineToLoadAsync()
Returns
Events
Declaration
public event EventHandler<ItemClickEventArgs> ItemClicked
Event Type
Type |
Description |
Windows.Foundation.EventHandler<Windows.UI.Xaml.Controls.ItemClickEventArgs> |
|
Implements
Windows.UI.Composition.IAnimationObject
Windows.UI.Composition.IVisualElement
Extension Methods