Skip to end of metadata
Go to start of metadata

Represents a control for viewing flow content on page basis.

Definition

public class UXFlowDocumentPageViewer : FlowDocumentViewerBase

Summary

The following table summarizes the members exposed in this class.

Public Constructors

UXFlowDocumentPageViewer Constructor() Initializes a new instance of UXFlowDocumentPageViewer class.

Public Properties

TotalPages Gets or sets the total pages of the current document.
ZoomMode Gets or sets a value that determines the current zoom mode.

Protected Properties

Product Product Info.

Fields

CurrentPageProperty Identifies the CurrentPage dependency property.
TotalPagesProperty Identifies the TotalPages dependency property.
ZoomModeProperty Identifies the ZoomMode dependency property.

Public Methods

AttachEventHandlers() Attach built-in event handlers to control templates. Call this method if necessary.
DetachedEventHandlers() Detach built-in event handlers from control templates. Call this method if necessary.
InitializeTemplates() Initializes control templates.
InvalidateLayout() Invalidate the layout of current document.
OnApplyTemplate() Builds the visual tree for the UXFlowDocumentPageViewer when a new template is applied.

Public Constructors

public UXFlowDocumentPageViewer()

Initializes a new instance of UXFlowDocumentPageViewer class.

Public Properties

public int TotalPages { get; set; }

Gets or sets the total pages of the current document.

public ZoomMode ZoomMode { get; set; }

Gets or sets a value that determines the current zoom mode.

Protected Properties

protected ProductInfo Product { get; }

Product Info.

Fields

public static readonly DependencyProperty CurrentPageProperty

Identifies the CurrentPage dependency property.

public static readonly DependencyProperty TotalPagesProperty

Identifies the TotalPages dependency property.

public static readonly DependencyProperty ZoomModeProperty

Identifies the ZoomMode dependency property.

Public Methods

public void AttachEventHandlers()

Attach built-in event handlers to control templates. Call this method if necessary.

public void DetachedEventHandlers()

Detach built-in event handlers from control templates. Call this method if necessary.

public void InitializeTemplates()

Initializes control templates.

public void InvalidateLayout()

Invalidate the layout of current document.

public void OnApplyTemplate()

Builds the visual tree for the UXFlowDocumentPageViewer when a new template is applied.

  • No labels