Skip to content

PDFDocumentView

Namespace: O2S.Components.PDF4NET.View

Defines a viewer control for PDF files.

public class PDFDocumentView : System.Windows.Controls.UserControl, IPDFView

Inheritance Object → DispatcherObject → DependencyObject → Visual → UIElement → FrameworkElement → Control → ContentControl → UserControl → PDFDocumentView
Implements IPDFView

Remarks

Use this control to display PDF files in Windows Presentation Foundation applications. Set the PDFDocumentView.Document property to display the desired PDF document. Set the PDFDocumentView.Zoom property to adjust the zoom level. Use the PDFDocumentView.PageDisplayLayout property to specify how the pages are arranged in the viewer. The PDFDocumentView.UserInteractionMode property can be used to specify how the user interacts with the PDF document displayed in the viewer.

Example

In your window's constructor connect the document view to a PDFVisualDocument:

public MainWindow()
{
    // ...

    document = new PDFVisualDocument();
    documentView.Document = document;

    // ...
}

When the window is closed, the viewer control need to be disposed explicitly as follows:

private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
{
    document.Close();
    documentView.Dispose();
    document.Dispose();
}

Fields

ResizeHandleStyleProperty

ShowAnnotationsCustomizationMenu Dependency Property

public static DependencyProperty ResizeHandleStyleProperty;

RestrictAnnotationsToVisiblePageAreaProperty

RestrictAnnotationsToVisiblePageArea Dependency Property

public static DependencyProperty RestrictAnnotationsToVisiblePageAreaProperty;

ShowAnnotationsProperty

ShowAnnotations Dependency Property

public static DependencyProperty ShowAnnotationsProperty;

ShowDefaultAnnotationContextMenuProperty

ShowDefaultAnnotationContextMenu Dependency Property

public static DependencyProperty ShowDefaultAnnotationContextMenuProperty;

ShowDefaultPageContextMenuProperty

ShowDefaultPageContextMenu Dependency Property

public static DependencyProperty ShowDefaultPageContextMenuProperty;

ShowFormFieldsProperty

ShowAnnotations Dependency Property

public static DependencyProperty ShowFormFieldsProperty;

ShowPageNumberIndicatorProperty

Zoom Dependency Property

public static DependencyProperty ShowPageNumberIndicatorProperty;

ZoomProperty

Zoom Dependency Property

public static DependencyProperty ZoomProperty;

Constructors

PDFDocumentView()

Initializes a new PDFDocumentView object.

public PDFDocumentView()

Properties

ActualHeight

public double ActualHeight { get; }

Property Value

Double


ActualWidth

public double ActualWidth { get; }

Property Value

Double


AllowDrop

public bool AllowDrop { get; set; }

Property Value

Boolean


AnnotationSelectionRectangleAppearance

Gets or sets the appearance of the annotation selection rectangle.

public PathVisualAppearance AnnotationSelectionRectangleAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the drawn appearance of the annotation selection rectangle.


AnnotationToolTips

Gets or sets the annotation tooltips.

public PDFVisualAnnotationToolTip AnnotationToolTips { get; set; }

Property Value

PDFVisualAnnotationToolTip
A PDFVisualAnnotationToolTip object that describes how tooltips should be displayed for annotations.

Remarks

Use this property to configure the content and the color scheme of the annotation tooltips. Setting this property to null will disable the annotation tooltips.


AreAnyTouchesCaptured

public bool AreAnyTouchesCaptured { get; }

Property Value

Boolean


AreAnyTouchesCapturedWithin

public bool AreAnyTouchesCapturedWithin { get; }

Property Value

Boolean


AreAnyTouchesDirectlyOver

public bool AreAnyTouchesDirectlyOver { get; }

Property Value

Boolean


AreAnyTouchesOver

public bool AreAnyTouchesOver { get; }

Property Value

Boolean


Background

public Brush Background { get; set; }

Property Value

Brush


BindingGroup

public BindingGroup BindingGroup { get; set; }

Property Value

BindingGroup


BitmapEffect

Caution

BitmapEffects are deprecated and no longer function. Consider using Effects where appropriate instead.


public BitmapEffect BitmapEffect { get; set; }

Property Value

BitmapEffect


BitmapEffectInput

Caution

BitmapEffects are deprecated and no longer function. Consider using Effects where appropriate instead.


public BitmapEffectInput BitmapEffectInput { get; set; }

Property Value

BitmapEffectInput


BorderBrush

public Brush BorderBrush { get; set; }

Property Value

Brush


BorderThickness

public Thickness BorderThickness { get; set; }

Property Value

Thickness


CacheMode

public CacheMode CacheMode { get; set; }

Property Value

CacheMode


Clip

public Geometry Clip { get; set; }

Property Value

Geometry


ClipToBounds

public bool ClipToBounds { get; set; }

Property Value

Boolean


CommandBindings

public CommandBindingCollection CommandBindings { get; }

Property Value

CommandBindingCollection


Content

public object Content { get; set; }

Property Value

Object


ContentStringFormat

public string ContentStringFormat { get; set; }

Property Value

String


ContentTemplate

public DataTemplate ContentTemplate { get; set; }

Property Value

DataTemplate


ContentTemplateSelector

public DataTemplateSelector ContentTemplateSelector { get; set; }

Property Value

DataTemplateSelector


ContextMenu

public ContextMenu ContextMenu { get; set; }

Property Value

ContextMenu


Cursor

public Cursor Cursor { get; set; }

Property Value

Cursor


DataContext

public object DataContext { get; set; }

Property Value

Object


DefaultCircleAnnotationAppearance

Gets or sets the default appearance of the circle annotation.

public PathVisualAppearance DefaultCircleAnnotationAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the default appearance of the circle annotation.


DefaultCloudSquareAnnotationAppearance

Gets or sets the default appearance of the cloud square annotation.

public PathVisualAppearance DefaultCloudSquareAnnotationAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the default appearance of the cloud square annotation.


DefaultFileAttachmentAnnotationAppearance

Gets or sets the default appearance of the file attachment annotation.

public PathVisualAppearance DefaultFileAttachmentAnnotationAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the default appearance of the file attachment annotation.


DefaultFormFieldAppearance

Gets or sets the default appearance of the form fields.

public PathVisualAppearance DefaultFormFieldAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the default appearance of the form fields.


DefaultFreeTextAnnotationAppearance

Gets or sets the default appearance of the free text annotation.

public PathVisualAppearance DefaultFreeTextAnnotationAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the default appearance of the free text annotation.


DefaultHighlightAnnotationAppearance

Gets or sets the default appearance of the highlight annotation.

public PathVisualAppearance DefaultHighlightAnnotationAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the default appearance of the highlight annotation.


DefaultInkAnnotationAppearance

Gets or sets the default appearance of the ink annotation.

public PathVisualAppearance DefaultInkAnnotationAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the default appearance of the ink annotation.


DefaultLineAnnotationAppearance

Gets or sets the default appearance of the line annotation.

public PathVisualAppearance DefaultLineAnnotationAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the default appearance of the line annotation.


DefaultLinkAnnotationAppearance

Gets or sets the default appearance of the link annotation.

public PathVisualAppearance DefaultLinkAnnotationAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the default appearance of the link annotation.

Remarks

The PathVisualAppearance.Fill property is not used for link annotations


DefaultPolylineAnnotationAppearance

Gets or sets the default appearance of the polyline annotation.

public PathVisualAppearance DefaultPolylineAnnotationAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the default appearance of the polyline annotation.


DefaultRubberStampAnnotationAppearance

Gets or sets the default appearance of the rubber stamp annotation.

public PathVisualAppearance DefaultRubberStampAnnotationAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the default appearance of the rubber stamp annotation.

Remarks

This property is only used for the design mode of the annotation. The actual apperance of the stamp is predefined and cannot be changed.


DefaultSquareAnnotationAppearance

Gets or sets the default appearance of the square annotation.

public PathVisualAppearance DefaultSquareAnnotationAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the default appearance of the square annotation.


DefaultSquigglyAnnotationAppearance

Gets or sets the default appearance of the squiggly annotation.

public PathVisualAppearance DefaultSquigglyAnnotationAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the default appearance of the squiggly annotation.


DefaultStrikeoutAnnotationAppearance

Gets or sets the default appearance of the strikeout annotation.

public PathVisualAppearance DefaultStrikeoutAnnotationAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the default appearance of the strikeout annotation.


DefaultTextAnnotationAppearance

Gets or sets the default appearance of the text annotation.

public PathVisualAppearance DefaultTextAnnotationAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the default appearance of the text annotation.


DefaultUnderlineAnnotationAppearance

Gets or sets the default appearance of the underline annotation.

public PathVisualAppearance DefaultUnderlineAnnotationAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the default appearance of the underline annotation.


DependencyObjectType

public DependencyObjectType DependencyObjectType { get; }

Property Value

DependencyObjectType


DesiredSize

public Size DesiredSize { get; }

Property Value

Size


Dispatcher

public Dispatcher Dispatcher { get; }

Property Value

Dispatcher


Document

Gets or sets the document displayed in the viewer.

public PDFVisualDocument Document { get; set; }

Property Value

PDFVisualDocument
A visual document that encapsulates the file to be displayed.


Effect

public Effect Effect { get; set; }

Property Value

Effect


FlowDirection

public FlowDirection FlowDirection { get; set; }

Property Value

FlowDirection


Focusable

public bool Focusable { get; set; }

Property Value

Boolean


FocusVisualStyle

public Style FocusVisualStyle { get; set; }

Property Value

Style


FontFamily

public FontFamily FontFamily { get; set; }

Property Value

FontFamily


FontSize

public double FontSize { get; set; }

Property Value

Double


FontStretch

public FontStretch FontStretch { get; set; }

Property Value

FontStretch


FontStyle

public FontStyle FontStyle { get; set; }

Property Value

FontStyle


FontWeight

public FontWeight FontWeight { get; set; }

Property Value

FontWeight


ForceCursor

public bool ForceCursor { get; set; }

Property Value

Boolean


Foreground

public Brush Foreground { get; set; }

Property Value

Brush


FormDesigner

Gets the active form designer.

public PDFVisualFormDesigner FormDesigner { get; }

Property Value

PDFVisualFormDesigner
A PDFVisualFormDesigner object for performing layout operations on the selected form fields or null if the PDFDocumentView.UserInteractionMode is not PDFUserInteractionMode.EditFormFields.


GraphicRendererFactory

Gets or sets the graphic renderer factory.

public IGraphicRendererFactory GraphicRendererFactory { get; set; }

Property Value

IGraphicRendererFactory
A factory for creating graphic renderers used by the PDF rendering process.


HasAnimatedProperties

public bool HasAnimatedProperties { get; }

Property Value

Boolean


HasContent

public bool HasContent { get; }

Property Value

Boolean


Height

public double Height { get; set; }

Property Value

Double


HorizontalAlignment

public HorizontalAlignment HorizontalAlignment { get; set; }

Property Value

HorizontalAlignment


HorizontalContentAlignment

public HorizontalAlignment HorizontalContentAlignment { get; set; }

Property Value

HorizontalAlignment


InputBindings

public InputBindingCollection InputBindings { get; }

Property Value

InputBindingCollection


InputScope

public InputScope InputScope { get; set; }

Property Value

InputScope


IsArrangeValid

public bool IsArrangeValid { get; }

Property Value

Boolean


IsEnabled

public bool IsEnabled { get; set; }

Property Value

Boolean


IsFocused

public bool IsFocused { get; }

Property Value

Boolean


IsHitTestVisible

public bool IsHitTestVisible { get; set; }

Property Value

Boolean


IsInitialized

public bool IsInitialized { get; }

Property Value

Boolean


IsInputMethodEnabled

public bool IsInputMethodEnabled { get; }

Property Value

Boolean


IsKeyboardFocused

public bool IsKeyboardFocused { get; }

Property Value

Boolean


IsKeyboardFocusWithin

public bool IsKeyboardFocusWithin { get; }

Property Value

Boolean


IsLoaded

public bool IsLoaded { get; }

Property Value

Boolean


IsManipulationEnabled

public bool IsManipulationEnabled { get; set; }

Property Value

Boolean


IsMeasureValid

public bool IsMeasureValid { get; }

Property Value

Boolean


IsMouseCaptured

public bool IsMouseCaptured { get; }

Property Value

Boolean


IsMouseCaptureWithin

public bool IsMouseCaptureWithin { get; }

Property Value

Boolean


IsMouseDirectlyOver

public bool IsMouseDirectlyOver { get; }

Property Value

Boolean


IsMouseOver

public bool IsMouseOver { get; }

Property Value

Boolean


IsSealed

public bool IsSealed { get; }

Property Value

Boolean


IsStylusCaptured

public bool IsStylusCaptured { get; }

Property Value

Boolean


IsStylusCaptureWithin

public bool IsStylusCaptureWithin { get; }

Property Value

Boolean


IsStylusDirectlyOver

public bool IsStylusDirectlyOver { get; }

Property Value

Boolean


IsStylusOver

public bool IsStylusOver { get; }

Property Value

Boolean


IsTabStop

public bool IsTabStop { get; set; }

Property Value

Boolean


IsVisible

public bool IsVisible { get; }

Property Value

Boolean


Language

public XmlLanguage Language { get; set; }

Property Value

XmlLanguage


LayoutTransform

public Transform LayoutTransform { get; set; }

Property Value

Transform


Margin

public Thickness Margin { get; set; }

Property Value

Thickness


MaxHeight

public double MaxHeight { get; set; }

Property Value

Double


MaxWidth

public double MaxWidth { get; set; }

Property Value

Double


MinHeight

public double MinHeight { get; set; }

Property Value

Double


MinWidth

public double MinWidth { get; set; }

Property Value

Double


Name

public string Name { get; set; }

Property Value

String


Opacity

public double Opacity { get; set; }

Property Value

Double


OpacityMask

public Brush OpacityMask { get; set; }

Property Value

Brush


OverridesDefaultStyle

public bool OverridesDefaultStyle { get; set; }

Property Value

Boolean


Padding

public Thickness Padding { get; set; }

Property Value

Thickness


PageDisplayLayout

Gets or sets the current page display layout.

public PDFPageDisplayLayout PageDisplayLayout { get; set; }

Property Value

PDFPageDisplayLayout

Remarks

The page display layout defines how the PDF pages are arranged and displayed in the viewer control.


PageNumber

Gets or sets the page number.

public int PageNumber { get; set; }

Property Value

Int32
The number of the page to be displayed in the viewer.


Parent

public DependencyObject Parent { get; }

Property Value

DependencyObject


PersistId

Caution

PersistId is an obsolete property and may be removed in a future release. The value of this property is not defined.


public int PersistId { get; }

Property Value

Int32


RenderSize

public Size RenderSize { get; set; }

Property Value

Size


RenderTransform

public Transform RenderTransform { get; set; }

Property Value

Transform


RenderTransformOrigin

public Point RenderTransformOrigin { get; set; }

Property Value

Point


ResizeHandleStyle

Gets or sets the style of the resize handles for annotations.

public ResizeHandleStyle ResizeHandleStyle { get; set; }

Property Value

ResizeHandleStyle
A PDFDocumentView.ResizeHandleStyle enum member specifying the style of the resize handles.


Resources

public ResourceDictionary Resources { get; set; }

Property Value

ResourceDictionary


RestrictAnnotationsToVisiblePageArea

Gets or sets a flag indicating whether annotations can be added or moved only in the visible page area.

public bool RestrictAnnotationsToVisiblePageArea { get; set; }

Property Value

Boolean
If true, then annotations can be added, moved or resized only in the page visible area.

Remarks

This property applies only to annotations handled through the PDFDocumentView control.


SelectionRectangleAppearance

Gets or sets the appearance of the selection rectangle.

public PathVisualAppearance SelectionRectangleAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the drawn appearance of the selection rectangle.


ShowAnnotations

Gets or sets a value indicating whether the annotations should be displayed or not.

public bool ShowAnnotations { get; set; }

Property Value

Boolean
True if the annotations should be displayed, false otherwise. Default is true.


ShowDefaultAnnotationContextMenu

Gets of sets a flag indicating whether the default annotation context menu should be displayed when right-clicking on an annotation.

public bool ShowDefaultAnnotationContextMenu { get; set; }

Property Value

Boolean
True if default annotation context menu should be displayed.


ShowDefaultPageContextMenu

Gets of sets a flag indicating whether the default page context menu should be displayed when right-clicking on a page.

public bool ShowDefaultPageContextMenu { get; set; }

Property Value

Boolean
True if default page context menu should be displayed.


ShowFormFields

Gets or sets a value indicating whether the annotations should be displayed or not.

public bool ShowFormFields { get; set; }

Property Value

Boolean
True if the annotations should be displayed, false otherwise. Default is true.


ShowPageNumberIndicator

Shows or hides the page number indicator in the bottom left corner of the PDFDocumentView control.

public bool ShowPageNumberIndicator { get; set; }

Property Value

Boolean
True to show the page number indicator, false to hide it.


SnapsToDevicePixels

public bool SnapsToDevicePixels { get; set; }

Property Value

Boolean


Style

public Style Style { get; set; }

Property Value

Style


TabIndex

public int TabIndex { get; set; }

Property Value

Int32


Tag

public object Tag { get; set; }

Property Value

Object


Template

public ControlTemplate Template { get; set; }

Property Value

ControlTemplate


TemplatedParent

public DependencyObject TemplatedParent { get; }

Property Value

DependencyObject


TextSearchResultAppearance

Gets or sets the appearance used for highlighting the text search results.

public PathVisualAppearance TextSearchResultAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the appearance to be used for highlighting the text search results.


TextSelectionAppearance

Gets or sets the appearance of the text selection.

public PathVisualAppearance TextSelectionAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the drawn appearance of the text selection.


ToolTip

public object ToolTip { get; set; }

Property Value

Object


TouchesCaptured

public IEnumerable<TouchDevice> TouchesCaptured { get; }

Property Value

IEnumerable<TouchDevice>


TouchesCapturedWithin

public IEnumerable<TouchDevice> TouchesCapturedWithin { get; }

Property Value

IEnumerable<TouchDevice>


TouchesDirectlyOver

public IEnumerable<TouchDevice> TouchesDirectlyOver { get; }

Property Value

IEnumerable<TouchDevice>


TouchesOver

public IEnumerable<TouchDevice> TouchesOver { get; }

Property Value

IEnumerable<TouchDevice>


Triggers

public TriggerCollection Triggers { get; }

Property Value

TriggerCollection


Uid

public string Uid { get; set; }

Property Value

String


UseLayoutRounding

public bool UseLayoutRounding { get; set; }

Property Value

Boolean


UserInteractionMode

Gets or sets the user interaction mode.

public PDFUserInteractionMode UserInteractionMode { get; set; }

Property Value

PDFUserInteractionMode
A PDFUserInteractionMode num member specifying how the end user interacts with the control.


VerticalAlignment

public VerticalAlignment VerticalAlignment { get; set; }

Property Value

VerticalAlignment


VerticalContentAlignment

public VerticalAlignment VerticalContentAlignment { get; set; }

Property Value

VerticalAlignment


Visibility

public Visibility Visibility { get; set; }

Property Value

Visibility


Width

public double Width { get; set; }

Property Value

Double


Zoom

Gets or sets the zoom level.

public int Zoom { get; set; }

Property Value

Int32
The zoom level used for displaying the PDF pages.


ZoomMode

Gets or sets the current zoom mode.

public PDFZoomMode ZoomMode { get; set; }

Property Value

PDFZoomMode
A PDFZoomMode enumeration member specifying how the PDFDocumentView.Zoom value is handled.


Methods

Dispose()

Disposes the viewer control.

public void Dispose()

GetSelectedAnnotations()

Gets the collection of selected annotations in the control.

public PDFVisualAnnotation[] GetSelectedAnnotations()

Returns

PDFVisualAnnotation[]
An array holding the selected annotations in the control or null if no annotations are selected


InitializeComponent()

InitializeComponent

public void InitializeComponent()

ScrollToPageLocation(PDFVisualPage, Double, Double)

Scrolls the viewer to the specified page at the given location.

public void ScrollToPageLocation(PDFVisualPage visualPage, double x, double y)

Parameters

visualPage PDFVisualPage
The page to scroll to.

x Double
Location's x coordinate on the page where to scroll.

y Double
Location's Y coordinate on the page where to scroll.


UpdateOnDpiChange()

Updates the viewer content when the monitor dpi changes.

public void UpdateOnDpiChange()

Remarks

This method should be called by client application in response to dpi change events. If this method is not called when the monitor dpi changes then the layout of the viewer content might get scrambled and the current document needs to be closed and reopened.


Events

AfterAnnotationAdd

Gets or sets the event that is fired after an annotation has been added through the PDFDocumentView control.

public event EventHandler<PDFVisualAnnotationAddEventArgs> AfterAnnotationAdd;

AfterAnnotationDelete

Gets or sets the event that is fired after an annotation has been deleted.

public event EventHandler<PDFVisualAnnotationDeleteEventArgs> AfterAnnotationDelete;

AfterAnnotationMove

Gets or sets the event that is fired after an annotation has been moved.

public event EventHandler<PDFVisualAnnotationMoveEventArgs> AfterAnnotationMove;

AfterAnnotationResize

Gets or sets the event that is fired after an annotation has been resized.

public event EventHandler<PDFVisualAnnotationResizeEventArgs> AfterAnnotationResize;

AfterContentSelect

Gets or sets the event that is fired after content has been selected on the page.

public event EventHandler<PDFContentSelectEventArgs> AfterContentSelect;

AfterFieldAdd

Gets or sets the event that is fired after a form field has been added through the PDFDocumentView control.

public event EventHandler<PDFVisualFieldAddEventArgs> AfterFieldAdd;

AfterLinkExecute

Gets or sets the event that is fired after a link has been executed.

public event EventHandler<PDFLinkExecuteEventArgs> AfterLinkExecute;

AfterPageDelete

Gets or sets the event that is fired after a page has been deleted.

public event EventHandler<PDFVisualPageDeleteEventArgs> AfterPageDelete;

AnnotationClick

Gets or sets the event that is fired when an annotation has been clicked.

public event EventHandler<PDFVisualAnnotationClickEventArgs> AnnotationClick;

AnnotationContextMenu

Gets or sets the event that is fired when an annotation context menu should be displayed.

public event EventHandler<PDFVisualAnnotationClickEventArgs> AnnotationContextMenu;

AnnotationDeselected

Gets or sets the event that is fired when an annotation is deselected the PDFDocumentView control.

public event EventHandler<PDFVisualAnnotationEventArgs> AnnotationDeselected;

AnnotationDoubleClick

Gets or sets the event that is fired when an annotation has been double clicked.

public event EventHandler<PDFVisualAnnotationClickEventArgs> AnnotationDoubleClick;

AnnotationSelected

Gets or sets the event that is fired when an annotation is selected the PDFDocumentView control.

public event EventHandler<PDFVisualAnnotationEventArgs> AnnotationSelected;

AnnotationToolTipContentRequested

Gets or sets the event that is fired when content is needed for annotation tooltip.

public event EventHandler<PDFVisualAnnotationToolTipContentRequestedEventArgs> AnnotationToolTipContentRequested;

AnnotationToolTipPopup

Gets or sets the event that is fired before an annotation tooltip is displayed.

public event EventHandler<PDFVisualAnnotationToolTipPopupEventArgs> AnnotationToolTipPopup;

BeforeAnnotationAdd

Gets or sets the event that is fired before an annotation is added through the PDFDocumentView control.

public event EventHandler<PDFVisualAnnotationAddEventArgs> BeforeAnnotationAdd;

BeforeAnnotationDelete

Gets or sets the event that is fired when an annotation is about to be deleted using the DEL key.

public event EventHandler<PDFVisualAnnotationDeleteEventArgs> BeforeAnnotationDelete;

BeforeAnnotationMove

Gets or sets the event that is fired when an annotation is about to be moved.

public event EventHandler<PDFVisualAnnotationMoveEventArgs> BeforeAnnotationMove;

BeforeAnnotationResize

Gets or sets the event that is fired when an annotation is about to be resized.

public event EventHandler<PDFVisualAnnotationResizeEventArgs> BeforeAnnotationResize;

BeforeFieldAdd

Gets or sets the event that is fired before a form field is added through the PDFDocumentView control.

public event EventHandler<PDFVisualFieldAddEventArgs> BeforeFieldAdd;

BeforeLinkExecute

Gets or sets the event that is fired before a link is executed.

public event EventHandler<PDFLinkExecuteEventArgs> BeforeLinkExecute;

BeforePageDelete

Gets or sets the event that is fired when a page is about to be deleted using the default page context menu.

public event EventHandler<PDFVisualPageDeleteEventArgs> BeforePageDelete;

ContextMenuClosing

public event ContextMenuEventHandler ContextMenuClosing;

ContextMenuOpening

public event ContextMenuEventHandler ContextMenuOpening;

DataContextChanged

public event DependencyPropertyChangedEventHandler DataContextChanged;

DragEnter

public event DragEventHandler DragEnter;

DragLeave

public event DragEventHandler DragLeave;

DragOver

public event DragEventHandler DragOver;

Drop

public event DragEventHandler Drop;

FocusableChanged

public event DependencyPropertyChangedEventHandler FocusableChanged;

GiveFeedback

public event GiveFeedbackEventHandler GiveFeedback;

GotFocus

public event RoutedEventHandler GotFocus;

GotKeyboardFocus

public event KeyboardFocusChangedEventHandler GotKeyboardFocus;

GotMouseCapture

public event MouseEventHandler GotMouseCapture;

GotStylusCapture

public event StylusEventHandler GotStylusCapture;

GotTouchCapture

public event EventHandler<TouchEventArgs> GotTouchCapture;

Initialized

public event EventHandler Initialized;

IsEnabledChanged

public event DependencyPropertyChangedEventHandler IsEnabledChanged;

IsHitTestVisibleChanged

public event DependencyPropertyChangedEventHandler IsHitTestVisibleChanged;

IsKeyboardFocusedChanged

public event DependencyPropertyChangedEventHandler IsKeyboardFocusedChanged;

IsKeyboardFocusWithinChanged

public event DependencyPropertyChangedEventHandler IsKeyboardFocusWithinChanged;

IsMouseCapturedChanged

public event DependencyPropertyChangedEventHandler IsMouseCapturedChanged;

IsMouseCaptureWithinChanged

public event DependencyPropertyChangedEventHandler IsMouseCaptureWithinChanged;

IsMouseDirectlyOverChanged

public event DependencyPropertyChangedEventHandler IsMouseDirectlyOverChanged;

IsStylusCapturedChanged

public event DependencyPropertyChangedEventHandler IsStylusCapturedChanged;

IsStylusCaptureWithinChanged

public event DependencyPropertyChangedEventHandler IsStylusCaptureWithinChanged;

IsStylusDirectlyOverChanged

public event DependencyPropertyChangedEventHandler IsStylusDirectlyOverChanged;

IsVisibleChanged

public event DependencyPropertyChangedEventHandler IsVisibleChanged;

KeyDown

public event KeyEventHandler KeyDown;

KeyUp

public event KeyEventHandler KeyUp;

LayoutUpdated

public event EventHandler LayoutUpdated;

Loaded

public event RoutedEventHandler Loaded;

LostFocus

public event RoutedEventHandler LostFocus;

LostKeyboardFocus

public event KeyboardFocusChangedEventHandler LostKeyboardFocus;

LostMouseCapture

public event MouseEventHandler LostMouseCapture;

LostStylusCapture

public event StylusEventHandler LostStylusCapture;

LostTouchCapture

public event EventHandler<TouchEventArgs> LostTouchCapture;

ManipulationBoundaryFeedback

public event EventHandler<ManipulationBoundaryFeedbackEventArgs> ManipulationBoundaryFeedback;

ManipulationCompleted

public event EventHandler<ManipulationCompletedEventArgs> ManipulationCompleted;

ManipulationDelta

public event EventHandler<ManipulationDeltaEventArgs> ManipulationDelta;

ManipulationInertiaStarting

public event EventHandler<ManipulationInertiaStartingEventArgs> ManipulationInertiaStarting;

ManipulationStarted

public event EventHandler<ManipulationStartedEventArgs> ManipulationStarted;

ManipulationStarting

public event EventHandler<ManipulationStartingEventArgs> ManipulationStarting;

MouseDoubleClick

public event MouseButtonEventHandler MouseDoubleClick;

MouseDown

public event MouseButtonEventHandler MouseDown;

MouseEnter

public event MouseEventHandler MouseEnter;

MouseLeave

public event MouseEventHandler MouseLeave;

MouseLeftButtonDown

public event MouseButtonEventHandler MouseLeftButtonDown;

MouseLeftButtonUp

public event MouseButtonEventHandler MouseLeftButtonUp;

MouseMove

public event MouseEventHandler MouseMove;

MouseRightButtonDown

public event MouseButtonEventHandler MouseRightButtonDown;

MouseRightButtonUp

public event MouseButtonEventHandler MouseRightButtonUp;

MouseUp

public event MouseButtonEventHandler MouseUp;

MouseWheel

public event MouseWheelEventHandler MouseWheel;

PageClick

Gets or sets the event that is fired when a page has been clicked.

public event EventHandler<PDFVisualPageClickEventArgs> PageClick;

PageContextMenu

Gets or sets the event that is fired when a page context menu should be displayed.

public event EventHandler<PDFVisualPageClickEventArgs> PageContextMenu;

PageDoubleClick

Gets or sets the event that is fired when a page has been double clicked.

public event EventHandler<PDFVisualPageClickEventArgs> PageDoubleClick;

PageNumberChanged

Gets or sets the event that is fired when the page number has changed.

public event EventHandler<PDFVisualPageEventArgs> PageNumberChanged;

PageRenderingCancelled

Gets or sets the event that is fired when the page stops displaying content.

public event EventHandler<PDFVisualPageEventArgs> PageRenderingCancelled;

PageRenderingCompleted

Gets or sets the event that is fired when the page content for the page visible area is displayed in full.

public event EventHandler<PDFVisualPageEventArgs> PageRenderingCompleted;

PageRenderingStarted

Gets or sets the event that is fired when a page begins to be displayed.

public event EventHandler<PDFVisualPageEventArgs> PageRenderingStarted;

PreviewDragEnter

public event DragEventHandler PreviewDragEnter;

PreviewDragLeave

public event DragEventHandler PreviewDragLeave;

PreviewDragOver

public event DragEventHandler PreviewDragOver;

PreviewDrop

public event DragEventHandler PreviewDrop;

PreviewGiveFeedback

public event GiveFeedbackEventHandler PreviewGiveFeedback;

PreviewGotKeyboardFocus

public event KeyboardFocusChangedEventHandler PreviewGotKeyboardFocus;

PreviewKeyDown

public event KeyEventHandler PreviewKeyDown;

PreviewKeyUp

public event KeyEventHandler PreviewKeyUp;

PreviewLostKeyboardFocus

public event KeyboardFocusChangedEventHandler PreviewLostKeyboardFocus;

PreviewMouseDoubleClick

public event MouseButtonEventHandler PreviewMouseDoubleClick;

PreviewMouseDown

public event MouseButtonEventHandler PreviewMouseDown;

PreviewMouseLeftButtonDown

public event MouseButtonEventHandler PreviewMouseLeftButtonDown;

PreviewMouseLeftButtonUp

public event MouseButtonEventHandler PreviewMouseLeftButtonUp;

PreviewMouseMove

public event MouseEventHandler PreviewMouseMove;

PreviewMouseRightButtonDown

public event MouseButtonEventHandler PreviewMouseRightButtonDown;

PreviewMouseRightButtonUp

public event MouseButtonEventHandler PreviewMouseRightButtonUp;

PreviewMouseUp

public event MouseButtonEventHandler PreviewMouseUp;

PreviewMouseWheel

public event MouseWheelEventHandler PreviewMouseWheel;

PreviewQueryContinueDrag

public event QueryContinueDragEventHandler PreviewQueryContinueDrag;

PreviewStylusButtonDown

public event StylusButtonEventHandler PreviewStylusButtonDown;

PreviewStylusButtonUp

public event StylusButtonEventHandler PreviewStylusButtonUp;

PreviewStylusDown

public event StylusDownEventHandler PreviewStylusDown;

PreviewStylusInAirMove

public event StylusEventHandler PreviewStylusInAirMove;

PreviewStylusInRange

public event StylusEventHandler PreviewStylusInRange;

PreviewStylusMove

public event StylusEventHandler PreviewStylusMove;

PreviewStylusOutOfRange

public event StylusEventHandler PreviewStylusOutOfRange;

PreviewStylusSystemGesture

public event StylusSystemGestureEventHandler PreviewStylusSystemGesture;

PreviewStylusUp

public event StylusEventHandler PreviewStylusUp;

PreviewTextInput

public event TextCompositionEventHandler PreviewTextInput;

PreviewTouchDown

public event EventHandler<TouchEventArgs> PreviewTouchDown;

PreviewTouchMove

public event EventHandler<TouchEventArgs> PreviewTouchMove;

PreviewTouchUp

public event EventHandler<TouchEventArgs> PreviewTouchUp;

QueryContinueDrag

public event QueryContinueDragEventHandler QueryContinueDrag;

QueryCursor

public event QueryCursorEventHandler QueryCursor;

RequestBringIntoView

public event RequestBringIntoViewEventHandler RequestBringIntoView;

SelectedContentContextMenu

Gets or sets the event that is fired when a context menu should be displayed for selected content.

public event EventHandler<PDFContentSelectEventArgs> SelectedContentContextMenu;

SizeChanged

public event SizeChangedEventHandler SizeChanged;

SourceUpdated

public event EventHandler<DataTransferEventArgs> SourceUpdated;

StylusButtonDown

public event StylusButtonEventHandler StylusButtonDown;

StylusButtonUp

public event StylusButtonEventHandler StylusButtonUp;

StylusDown

public event StylusDownEventHandler StylusDown;

StylusEnter

public event StylusEventHandler StylusEnter;

StylusInAirMove

public event StylusEventHandler StylusInAirMove;

StylusInRange

public event StylusEventHandler StylusInRange;

StylusLeave

public event StylusEventHandler StylusLeave;

StylusMove

public event StylusEventHandler StylusMove;

StylusOutOfRange

public event StylusEventHandler StylusOutOfRange;

StylusSystemGesture

public event StylusSystemGestureEventHandler StylusSystemGesture;

StylusUp

public event StylusEventHandler StylusUp;

TargetUpdated

public event EventHandler<DataTransferEventArgs> TargetUpdated;

TextInput

public event TextCompositionEventHandler TextInput;

ToolTipClosing

public event ToolTipEventHandler ToolTipClosing;

ToolTipOpening

public event ToolTipEventHandler ToolTipOpening;

TouchDown

public event EventHandler<TouchEventArgs> TouchDown;

TouchEnter

public event EventHandler<TouchEventArgs> TouchEnter;

TouchLeave

public event EventHandler<TouchEventArgs> TouchLeave;

TouchMove

public event EventHandler<TouchEventArgs> TouchMove;

TouchUp

public event EventHandler<TouchEventArgs> TouchUp;

Unloaded

public event RoutedEventHandler Unloaded;

UserInteractionModeChanged

Gets or sets the event that is fired when the PDFDocumentView.UserInteractionMode has changed.

public event EventHandler<EventArgs> UserInteractionModeChanged;

ZoomChanged

Gets or sets the event that is fired when the zoom has changed.

public event EventHandler<EventArgs> ZoomChanged;

ZoomModeChanged

Gets or sets the event that is fired when the PDFDocumentView.ZoomMode has changed.

public event EventHandler<EventArgs> ZoomModeChanged;