Class ThumbnailSlider
The ThumbnailSlider uses the GetThumbAsync API to show thumbnails of the current page as the slider moves.
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
ThumbnailSlider
Implements
Windows.UI.Composition.IAnimationObject
Windows.UI.Composition.IVisualElement
Namespace: pdftron.PDF.Tools.Controls
Assembly: pdftron.PDF.Tools.dll
Syntax
public sealed class ThumbnailSlider : 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
ThumbnailSlider()
Creates a Thumbnail Slider that is not associated with a PDFViewCtrl. Use the PDFViewCtrl property to assoicate it with a PDFViewCtrl later.
Note: It is up to your to register and unregister this control from the PDFViewCtrl
Declaration
public ThumbnailSlider()
ThumbnailSlider(PDFViewCtrl)
Creates a new Thumbnail Slider associated with the PDFViewCtrl.
Note: It is up to your to register and unregister this control from the PDFViewCtrl
Declaration
public ThumbnailSlider(PDFViewCtrl ctrl)
Parameters
Type | Name | Description |
---|---|---|
PDFViewCtrl | ctrl |
Properties
NavigationStack
Declaration
public NavigationStack NavigationStack { get; set; }
Property Value
Type | Description |
---|---|
NavigationStack |
PDFViewCtrl
Give the ThumbSlider a new PDFViewCtrl.
Declaration
public PDFViewCtrl PDFViewCtrl { get; set; }
Property Value
Type | Description |
---|---|
PDFViewCtrl |
Methods
RegisterForEvents()
Register the ThumbnailSlider for events from the PDFViewCtrl
Declaration
public void RegisterForEvents()
UnRegisterForEvents()
UnRegister the ThumbnailSlider for events from the PDFViewCtrl. This is essential for the PDFViewCtrl to be garbage collected properly.
Declaration
public void UnRegisterForEvents()
UpdateMaximum()
Declaration
public void UpdateMaximum()
UpdatePageNumber(Int32)
Declaration
public void UpdatePageNumber(int pageNumber)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | pageNumber |
Implements
Windows.UI.Composition.IAnimationObject
Windows.UI.Composition.IVisualElement