Class AnnotationList
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
AnnotationList
Implements
Windows.UI.Composition.IAnimationObject
Windows.UI.Composition.IVisualElement
Namespace: pdftron.PDF.Tools.Controls
Assembly: pdftron.PDF.Tools.dll
Syntax
public sealed class AnnotationList : 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
AnnotationList()
Declaration
public AnnotationList()
AnnotationList(PDFViewCtrl)
Declaration
public AnnotationList(PDFViewCtrl ctrl)
Parameters
Type | Name | Description |
---|---|---|
PDFViewCtrl | ctrl |
Properties
FlashBrush
Declaration
public SolidColorBrush FlashBrush { get; set; }
Property Value
Type | Description |
---|---|
Windows.UI.Xaml.Media.SolidColorBrush |
NavigationStack
Declaration
public NavigationStack NavigationStack { get; set; }
Property Value
Type | Description |
---|---|
NavigationStack |
PDFViewCtrl
Declaration
public PDFViewCtrl PDFViewCtrl { get; set; }
Property Value
Type | Description |
---|---|
PDFViewCtrl |
ViewIsVisible
This boolean can be set to inform the AnnotationList that it can not scroll. This happens for example when the AnnotationList is in a Pivot and not in view. Setting this to true will scroll the currently selected item into view and also affects restoring state.
Declaration
public bool ViewIsVisible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ViewModel
Declaration
public AnnotationListViewModel ViewModel { get; }
Property Value
Type | Description |
---|---|
AnnotationListViewModel |
Methods
GetState()
Declaration
public double GetState()
Returns
Type | Description |
---|---|
System.Double |
GoBack()
Will go back if possible.
Declaration
public bool GoBack()
Returns
Type | Description |
---|---|
System.Boolean | Return true if it went back, false otherwise |
RestoreState(Double)
Declaration
public void RestoreState(double scrollPosition)
Parameters
Type | Name | Description |
---|---|---|
System.Double | scrollPosition |
WaitForAnnotationListToFinish()
Declaration
public Task WaitForAnnotationListToFinish()
Returns
Type | Description |
---|---|
Task |
Events
ItemClicked
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