Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
1501 lines (1353 sloc) 90.1 KB
<Type Name="FlowDocumentPageViewer" FullName="System.Windows.Controls.FlowDocumentPageViewer">
<TypeSignature Language="C#" Value="public class FlowDocumentPageViewer : System.Windows.Controls.Primitives.DocumentViewerBase" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi FlowDocumentPageViewer extends System.Windows.Controls.Primitives.DocumentViewerBase" />
<TypeSignature Language="DocId" Value="T:System.Windows.Controls.FlowDocumentPageViewer" />
<TypeSignature Language="VB.NET" Value="Public Class FlowDocumentPageViewer&#xA;Inherits DocumentViewerBase" />
<TypeSignature Language="C++ CLI" Value="public ref class FlowDocumentPageViewer : System::Windows::Controls::Primitives::DocumentViewerBase" />
<TypeSignature Language="F#" Value="type FlowDocumentPageViewer = class&#xA; inherit DocumentViewerBase" />
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Windows.Controls.Primitives.DocumentViewerBase</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName>System.Windows.TemplatePart(Name="PART_FindToolBarHost", Type=typeof(System.Windows.Controls.Decorator))</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Represents a control for viewing flow content in a fixed viewing mode that shows content one page at a time.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<xref:System.Windows.Controls.FlowDocumentPageViewer> allows only one <xref:System.Windows.Documents.FlowDocument> as a child element.
<xref:System.Windows.Controls.FlowDocumentPageViewer> shows content in page-at-a-time viewing mode. A similar control, <xref:System.Windows.Controls.FlowDocumentScrollViewer>, shows content in continuous scrolling mode. Both <xref:System.Windows.Controls.FlowDocumentPageViewer> and <xref:System.Windows.Controls.FlowDocumentScrollViewer> are fixed to a particular viewing mode. On the other hand, <xref:System.Windows.Controls.FlowDocumentReader> includes features that enable the user to dynamically choose between various viewing modes (as provided by the <xref:System.Windows.Controls.FlowDocumentReaderViewingMode> enumeration), at the cost of being poorer performing than <xref:System.Windows.Controls.FlowDocumentPageViewer> or <xref:System.Windows.Controls.FlowDocumentScrollViewer>.
The following illustration shows a <xref:System.Windows.Controls.FlowDocumentPageViewer> control with its default [!INCLUDE[TLA#tla_ui](~/includes/tlasharptla-ui-md.md)].
![Screenshot: FlowDocumentPageViewer](~/add/media/flowdocpageviewer-main.png "Screenshot: FlowDocumentPageViewer")
- **Content Area** - The content area displays the contents of the <xref:System.Windows.Documents.FlowDocument> specified by the <xref:System.Windows.Controls.Primitives.DocumentViewerBase.Document%2A> property.
- **Toolbar** - The default toolbar is docked underneath the content area, and hosts controls for navigating pages, and changing the zoom level.
- **Page Navigation Controls** - The page navigation controls include a button to jump to the next page (the down arrow) or previous page (the up arrow), as well as indicators for the current page number and total number of pages.
- **Zoom Controls** - The zoom controls enable the user to increase or decrease the zoom level by clicking the plus or minus buttons, respectively. The zoom controls also include a slider for adjusting the zoom level. For more information, see <xref:System.Windows.Controls.FlowDocumentReader.Zoom%2A>.
- **Search** - The user can use the Ctr+F keyboard shortcut or you can use <xref:System.Windows.Controls.FlowDocumentPageViewer.Find%2A> to toggle a search textbox that is used to find strings within the content. See <xref:System.Windows.Controls.FlowDocumentPageViewer.Find%2A> for more information.
## Examples
The following example defines the <xref:System.Windows.Controls.FlowDocumentPageViewer> pictured in the figure above.
[!code-xaml[FloaterFigureSnippets#_FlowDocumentPageViewerXAML](~/samples/snippets/csharp/VS_Snippets_Wpf/FloaterFigureSnippets/CSharp/Window1.xaml#_flowdocumentpageviewerxaml)]
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public FlowDocumentPageViewer ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.FlowDocumentPageViewer.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; FlowDocumentPageViewer();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Windows.Controls.FlowDocumentPageViewer" /> class.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CanDecreaseZoom">
<MemberSignature Language="C#" Value="public virtual bool CanDecreaseZoom { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool CanDecreaseZoom" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.FlowDocumentPageViewer.CanDecreaseZoom" />
<MemberSignature Language="VB.NET" Value="Public Overridable ReadOnly Property CanDecreaseZoom As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual property bool CanDecreaseZoom { bool get(); };" />
<MemberSignature Language="F#" Value="member this.CanDecreaseZoom : bool" Usage="System.Windows.Controls.FlowDocumentPageViewer.CanDecreaseZoom" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a value that indicates whether the <see cref="P:System.Windows.Controls.FlowDocumentPageViewer.Zoom" /> level can be decreased.</summary>
<value>
<see langword="true" /> if the <see cref="P:System.Windows.Controls.FlowDocumentPageViewer.Zoom" /> level can be decreased; otherwise, <see langword="false" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Calling the <xref:System.Windows.Controls.FlowDocumentPageViewer.DecreaseZoom%2A> method decreases the <xref:System.Windows.Controls.FlowDocumentPageViewer.Zoom%2A> level by the amount specified by the <xref:System.Windows.Controls.FlowDocumentPageViewer.ZoomIncrement%2A> property. The value of this property is subject to the value of the <xref:System.Windows.Controls.FlowDocumentPageViewer.MinZoom%2A> property.
<a name="dependencyPropertyInfo_CanDecreaseZoom"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Controls.FlowDocumentPageViewer.CanDecreaseZoomProperty>|
|Metadata properties set to `true`|None|
]]></format>
</remarks>
<altmember cref="P:System.Windows.Input.NavigationCommands.DecreaseZoom" />
<altmember cref="P:System.Windows.Input.NavigationCommands.IncreaseZoom" />
<altmember cref="M:System.Windows.Controls.FlowDocumentPageViewer.IncreaseZoom" />
<altmember cref="P:System.Windows.Controls.FlowDocumentPageViewer.CanIncreaseZoom" />
<altmember cref="P:System.Windows.Controls.FlowDocumentPageViewer.MaxZoom" />
</Docs>
</Member>
<Member MemberName="CanDecreaseZoomProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty CanDecreaseZoomProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty CanDecreaseZoomProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.FlowDocumentPageViewer.CanDecreaseZoomProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly CanDecreaseZoomProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ CanDecreaseZoomProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable CanDecreaseZoomProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.FlowDocumentPageViewer.CanDecreaseZoomProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.FlowDocumentPageViewer.CanDecreaseZoom" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CanDecreaseZoomPropertyKey">
<MemberSignature Language="C#" Value="protected static readonly System.Windows.DependencyPropertyKey CanDecreaseZoomPropertyKey;" />
<MemberSignature Language="ILAsm" Value=".field family static initonly class System.Windows.DependencyPropertyKey CanDecreaseZoomPropertyKey" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.FlowDocumentPageViewer.CanDecreaseZoomPropertyKey" />
<MemberSignature Language="VB.NET" Value="Protected Shared ReadOnly CanDecreaseZoomPropertyKey As DependencyPropertyKey " />
<MemberSignature Language="C++ CLI" Value="protected: static initonly System::Windows::DependencyPropertyKey ^ CanDecreaseZoomPropertyKey;" />
<MemberSignature Language="F#" Value=" staticval mutable CanDecreaseZoomPropertyKey : System.Windows.DependencyPropertyKey" Usage="System.Windows.Controls.FlowDocumentPageViewer.CanDecreaseZoomPropertyKey" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyPropertyKey</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.FlowDocumentPageViewer.CanDecreaseZoom" /> dependency property.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
If you derive from <xref:System.Windows.Controls.FlowDocumentPageViewer>, you need this key in order to set the value of the <xref:System.Windows.Controls.FlowDocumentPageViewer.CanDecreaseZoom%2A> dependency property. Call <xref:System.Windows.DependencyObject.SetValue%28System.Windows.DependencyPropertyKey%2CSystem.Object%29>, passing <xref:System.Windows.Controls.FlowDocumentPageViewer.CanDecreaseZoomPropertyKey> as the `key` parameter.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="CanIncreaseZoom">
<MemberSignature Language="C#" Value="public virtual bool CanIncreaseZoom { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool CanIncreaseZoom" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.FlowDocumentPageViewer.CanIncreaseZoom" />
<MemberSignature Language="VB.NET" Value="Public Overridable ReadOnly Property CanIncreaseZoom As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual property bool CanIncreaseZoom { bool get(); };" />
<MemberSignature Language="F#" Value="member this.CanIncreaseZoom : bool" Usage="System.Windows.Controls.FlowDocumentPageViewer.CanIncreaseZoom" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a value that indicates whether the <see cref="P:System.Windows.Controls.FlowDocumentPageViewer.Zoom" /> level can be increased.</summary>
<value>
<see langword="true" /> if the <see cref="P:System.Windows.Controls.FlowDocumentPageViewer.Zoom" /> level can be increased; otherwise, <see langword="false" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Calling the <xref:System.Windows.Controls.FlowDocumentPageViewer.IncreaseZoom%2A> method increases the <xref:System.Windows.Controls.FlowDocumentPageViewer.Zoom%2A> level by the amount specified by the <xref:System.Windows.Controls.FlowDocumentPageViewer.ZoomIncrement%2A> property. The value of this property is subject to the value of the <xref:System.Windows.Controls.FlowDocumentPageViewer.MaxZoom%2A> property.
<a name="dependencyPropertyInfo_CanIncreaseZoom"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Controls.FlowDocumentPageViewer.CanIncreaseZoomProperty>|
|Metadata properties set to `true`|None|
]]></format>
</remarks>
<altmember cref="P:System.Windows.Input.NavigationCommands.DecreaseZoom" />
<altmember cref="P:System.Windows.Input.NavigationCommands.IncreaseZoom" />
<altmember cref="P:System.Windows.Controls.FlowDocumentPageViewer.CanIncreaseZoom" />
<altmember cref="P:System.Windows.Controls.FlowDocumentPageViewer.MinZoom" />
</Docs>
</Member>
<Member MemberName="CanIncreaseZoomProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty CanIncreaseZoomProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty CanIncreaseZoomProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.FlowDocumentPageViewer.CanIncreaseZoomProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly CanIncreaseZoomProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ CanIncreaseZoomProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable CanIncreaseZoomProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.FlowDocumentPageViewer.CanIncreaseZoomProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.FlowDocumentPageViewer.CanIncreaseZoom" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CanIncreaseZoomPropertyKey">
<MemberSignature Language="C#" Value="protected static readonly System.Windows.DependencyPropertyKey CanIncreaseZoomPropertyKey;" />
<MemberSignature Language="ILAsm" Value=".field family static initonly class System.Windows.DependencyPropertyKey CanIncreaseZoomPropertyKey" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.FlowDocumentPageViewer.CanIncreaseZoomPropertyKey" />
<MemberSignature Language="VB.NET" Value="Protected Shared ReadOnly CanIncreaseZoomPropertyKey As DependencyPropertyKey " />
<MemberSignature Language="C++ CLI" Value="protected: static initonly System::Windows::DependencyPropertyKey ^ CanIncreaseZoomPropertyKey;" />
<MemberSignature Language="F#" Value=" staticval mutable CanIncreaseZoomPropertyKey : System.Windows.DependencyPropertyKey" Usage="System.Windows.Controls.FlowDocumentPageViewer.CanIncreaseZoomPropertyKey" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyPropertyKey</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.FlowDocumentPageViewer.CanIncreaseZoom" /> dependency property.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
If you derive from <xref:System.Windows.Controls.FlowDocumentPageViewer>, you need this key in order to set the value of the <xref:System.Windows.Controls.FlowDocumentPageViewer.CanIncreaseZoom%2A> dependency property. Call <xref:System.Windows.DependencyObject.SetValue%28System.Windows.DependencyPropertyKey%2CSystem.Object%29>, passing <xref:System.Windows.Controls.FlowDocumentPageViewer.CanIncreaseZoomPropertyKey> as the `key` parameter.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="DecreaseZoom">
<MemberSignature Language="C#" Value="public void DecreaseZoom ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void DecreaseZoom() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.FlowDocumentPageViewer.DecreaseZoom" />
<MemberSignature Language="VB.NET" Value="Public Sub DecreaseZoom ()" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; void DecreaseZoom();" />
<MemberSignature Language="F#" Value="member this.DecreaseZoom : unit -&gt; unit" Usage="flowDocumentPageViewer.DecreaseZoom " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Executes the <see cref="P:System.Windows.Input.NavigationCommands.DecreaseZoom" /> routed command.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method decreases the current <xref:System.Windows.Controls.FlowDocumentPageViewer.Zoom%2A> level by the value specified by the <xref:System.Windows.Controls.FlowDocumentPageViewer.ZoomIncrement%2A> property.
Default <xref:System.Windows.Controls.FlowDocumentPageViewer>[!INCLUDE[TLA#tla_ui](~/includes/tlasharptla-ui-md.md)] includes a button to decrease the zoom.
Calling this method has no effect if the <xref:System.Windows.Controls.FlowDocumentPageViewer.CanDecreaseZoom%2A> property returns `false`.
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.FlowDocumentPageViewer.IncreaseZoom" />
<altmember cref="P:System.Windows.Controls.FlowDocumentPageViewer.CanIncreaseZoom" />
<altmember cref="P:System.Windows.Controls.FlowDocumentPageViewer.MinZoom" />
<altmember cref="P:System.Windows.Controls.FlowDocumentPageViewer.MaxZoom" />
</Docs>
</Member>
<Member MemberName="Find">
<MemberSignature Language="C#" Value="public void Find ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Find() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.FlowDocumentPageViewer.Find" />
<MemberSignature Language="VB.NET" Value="Public Sub Find ()" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; void Find();" />
<MemberSignature Language="F#" Value="override this.Find : unit -&gt; unit" Usage="flowDocumentPageViewer.Find " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Toggles the **Find** dialog.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
By default, Ctrl+F provides a keyboard shortcut for toggling the **Find** dialog. The following figure shows the **Find** dialog on a <xref:System.Windows.Controls.FlowDocumentPageViewer> with default UI.
![Screenshot: Find Dialog of FlowDocumentPageViewer](~/add/media/flowdocpageviewer-find.png "Screenshot: Find Dialog of FlowDocumentPageViewer")
The default **Find** dialog includes a field for entering search text, as well as buttons for **Find Next**, **Find Previous**, and **Options**. The following **Find** options are provided by default:
- Match whole word only
- Match case
- Match diacritic
- Match kashida
- Match alef hamza
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="IncreaseZoom">
<MemberSignature Language="C#" Value="public void IncreaseZoom ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void IncreaseZoom() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.FlowDocumentPageViewer.IncreaseZoom" />
<MemberSignature Language="VB.NET" Value="Public Sub IncreaseZoom ()" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; void IncreaseZoom();" />
<MemberSignature Language="F#" Value="member this.IncreaseZoom : unit -&gt; unit" Usage="flowDocumentPageViewer.IncreaseZoom " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Executes the <see cref="P:System.Windows.Input.NavigationCommands.IncreaseZoom" /> routed command.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method increases the current <xref:System.Windows.Controls.FlowDocumentPageViewer.Zoom%2A> level by the value specified by the <xref:System.Windows.Controls.FlowDocumentPageViewer.ZoomIncrement%2A> property.
Default <xref:System.Windows.Controls.FlowDocumentPageViewer>[!INCLUDE[TLA#tla_ui](~/includes/tlasharptla-ui-md.md)] includes a button to increase the zoom.
Calling this method has no effect if the <xref:System.Windows.Controls.FlowDocumentPageViewer.CanIncreaseZoom%2A> property returns `false`.
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.FlowDocumentPageViewer.DecreaseZoom" />
<altmember cref="P:System.Windows.Controls.FlowDocumentPageViewer.CanDecreaseZoom" />
<altmember cref="P:System.Windows.Controls.FlowDocumentPageViewer.MinZoom" />
<altmember cref="P:System.Windows.Controls.FlowDocumentPageViewer.MaxZoom" />
</Docs>
</Member>
<Member MemberName="IsInactiveSelectionHighlightEnabled">
<MemberSignature Language="C#" Value="public bool IsInactiveSelectionHighlightEnabled { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool IsInactiveSelectionHighlightEnabled" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.FlowDocumentPageViewer.IsInactiveSelectionHighlightEnabled" />
<MemberSignature Language="VB.NET" Value="Public Property IsInactiveSelectionHighlightEnabled As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property bool IsInactiveSelectionHighlightEnabled { bool get(); void set(bool value); };" />
<MemberSignature Language="F#" Value="member this.IsInactiveSelectionHighlightEnabled : bool with get, set" Usage="System.Windows.Controls.FlowDocumentPageViewer.IsInactiveSelectionHighlightEnabled" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a value that indicates whether <see cref="T:System.Windows.Controls.FlowDocumentPageViewer" /> displays selected text when the control does not have focus.</summary>
<value>
<see langword="true" /> if the <see cref="T:System.Windows.Controls.FlowDocumentPageViewer" /> displays selected text when the <see cref="T:System.Windows.Controls.FlowDocumentPageViewer" /> does not have focus; otherwise, <see langword="false" />.
The registered default is <see langword="false" />. For more information about what can influence the value, see [Dependency Property Value Precedence](~/docs/framework/wpf/advanced/dependency-property-value-precedence.md).</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<a name="dependencyPropertyInfo_IsInactiveSelectionHighlightEnabled"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Controls.FlowDocumentPageViewer.IsInactiveSelectionHighlightEnabledProperty>|
|Metadata properties set to `true`|None|
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="IsInactiveSelectionHighlightEnabledProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty IsInactiveSelectionHighlightEnabledProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty IsInactiveSelectionHighlightEnabledProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.FlowDocumentPageViewer.IsInactiveSelectionHighlightEnabledProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly IsInactiveSelectionHighlightEnabledProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ IsInactiveSelectionHighlightEnabledProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable IsInactiveSelectionHighlightEnabledProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.FlowDocumentPageViewer.IsInactiveSelectionHighlightEnabledProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.FlowDocumentPageViewer.IsInactiveSelectionHighlightEnabled" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="IsSelectionActive">
<MemberSignature Language="C#" Value="public bool IsSelectionActive { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool IsSelectionActive" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.FlowDocumentPageViewer.IsSelectionActive" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property IsSelectionActive As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property bool IsSelectionActive { bool get(); };" />
<MemberSignature Language="F#" Value="member this.IsSelectionActive : bool" Usage="System.Windows.Controls.FlowDocumentPageViewer.IsSelectionActive" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a value that indicates whether the <see cref="T:System.Windows.Controls.FlowDocumentPageViewer" /> has focus and selected text.</summary>
<value>
<see langword="true" /> if the <see cref="T:System.Windows.Controls.FlowDocumentPageViewer" /> displays selected text when the text box does not have focus; otherwise, <see langword="false" />.
The registered default is <see langword="false" />. For more information about what can influence the value, see [Dependency Property Value Precedence](~/docs/framework/wpf/advanced/dependency-property-value-precedence.md).</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<a name="dependencyPropertyInfo_IsSelectionActive"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Controls.FlowDocumentPageViewer.IsSelectionActiveProperty>|
|Metadata properties set to `true`|None|
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="IsSelectionActiveProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty IsSelectionActiveProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty IsSelectionActiveProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.FlowDocumentPageViewer.IsSelectionActiveProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly IsSelectionActiveProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ IsSelectionActiveProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable IsSelectionActiveProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.FlowDocumentPageViewer.IsSelectionActiveProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.FlowDocumentPageViewer.IsSelectionActive" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="MaxZoom">
<MemberSignature Language="C#" Value="public double MaxZoom { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance float64 MaxZoom" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.FlowDocumentPageViewer.MaxZoom" />
<MemberSignature Language="VB.NET" Value="Public Property MaxZoom As Double" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property double MaxZoom { double get(); void set(double value); };" />
<MemberSignature Language="F#" Value="member this.MaxZoom : double with get, set" Usage="System.Windows.Controls.FlowDocumentPageViewer.MaxZoom" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Double</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the maximum allowable <see cref="P:System.Windows.Controls.FlowDocumentPageViewer.Zoom" /> level for the <see cref="T:System.Windows.Controls.FlowDocumentPageViewer" />.</summary>
<value>The maximum allowable zoom level for the <see cref="T:System.Windows.Controls.FlowDocumentPageViewer" />, interpreted as a percentage. The default is 200.0 (a maximum zoom of 200%).</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The default <xref:System.Windows.Controls.FlowDocumentPageViewer> [!INCLUDE[TLA#tla_ui](~/includes/tlasharptla-ui-md.md)] includes a slider that can be used to adjust the <xref:System.Windows.Controls.FlowDocumentPageViewer.Zoom%2A> level. This property specifies the upper-limit value for the slider.
<a name="dependencyPropertyInfo_MaxZoom"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Controls.FlowDocumentPageViewer.MaxZoomProperty>|
|Metadata properties set to `true`|None|
## Examples
The following example shows how to use this property.
[!code-xaml[FlowDocumentSnippets#_FlowDocumentPageViewerXAML](~/samples/snippets/csharp/VS_Snippets_Wpf/FlowDocumentSnippets/CSharp/Window1.xaml#_flowdocumentpageviewerxaml)]
[!code-csharp[FlowDocumentSnippets#_FlowDocumentPageViewer](~/samples/snippets/csharp/VS_Snippets_Wpf/FlowDocumentSnippets/CSharp/Window1.xaml.cs#_flowdocumentpageviewer)]
[!code-vb[FlowDocumentSnippets#_FlowDocumentPageViewer](~/samples/snippets/visualbasic/VS_Snippets_Wpf/FlowDocumentSnippets/visualbasic/window1.xaml.vb#_flowdocumentpageviewer)]
]]></format>
</remarks>
<altmember cref="P:System.Windows.Controls.FlowDocumentPageViewer.CanDecreaseZoom" />
<altmember cref="P:System.Windows.Controls.FlowDocumentPageViewer.CanIncreaseZoom" />
<altmember cref="M:System.Windows.Controls.FlowDocumentPageViewer.DecreaseZoom" />
<altmember cref="M:System.Windows.Controls.FlowDocumentPageViewer.IncreaseZoom" />
<altmember cref="P:System.Windows.Controls.FlowDocumentPageViewer.MinZoom" />
<altmember cref="P:System.Windows.Controls.FlowDocumentPageViewer.ZoomIncrement" />
</Docs>
</Member>
<Member MemberName="MaxZoomProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty MaxZoomProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty MaxZoomProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.FlowDocumentPageViewer.MaxZoomProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly MaxZoomProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ MaxZoomProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable MaxZoomProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.FlowDocumentPageViewer.MaxZoomProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.FlowDocumentPageViewer.MaxZoom" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="MinZoom">
<MemberSignature Language="C#" Value="public double MinZoom { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance float64 MinZoom" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.FlowDocumentPageViewer.MinZoom" />
<MemberSignature Language="VB.NET" Value="Public Property MinZoom As Double" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property double MinZoom { double get(); void set(double value); };" />
<MemberSignature Language="F#" Value="member this.MinZoom : double with get, set" Usage="System.Windows.Controls.FlowDocumentPageViewer.MinZoom" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Double</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the minimum allowable <see cref="P:System.Windows.Controls.FlowDocumentPageViewer.Zoom" /> level for the <see cref="T:System.Windows.Controls.FlowDocumentPageViewer" />.</summary>
<value>The minimum allowable zoom level for the <see cref="T:System.Windows.Controls.FlowDocumentPageViewer" />, interpreted as a percentage. The default is 80.0 (a minimum zoom of 80%).</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The default <xref:System.Windows.Controls.FlowDocumentPageViewer> [!INCLUDE[TLA#tla_ui](~/includes/tlasharptla-ui-md.md)] includes a slider that can be used to adjust the <xref:System.Windows.Controls.FlowDocumentPageViewer.Zoom%2A> level. This property specifies the lower-limit value for the slider.
<a name="dependencyPropertyInfo_MinZoom"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Controls.FlowDocumentPageViewer.MinZoomProperty>|
|Metadata properties set to `true`|None|
## Examples
The following example shows how to use this property.
[!code-xaml[FlowDocumentSnippets#_FlowDocumentPageViewerXAML](~/samples/snippets/csharp/VS_Snippets_Wpf/FlowDocumentSnippets/CSharp/Window1.xaml#_flowdocumentpageviewerxaml)]
[!code-csharp[FlowDocumentSnippets#_FlowDocumentPageViewer](~/samples/snippets/csharp/VS_Snippets_Wpf/FlowDocumentSnippets/CSharp/Window1.xaml.cs#_flowdocumentpageviewer)]
[!code-vb[FlowDocumentSnippets#_FlowDocumentPageViewer](~/samples/snippets/visualbasic/VS_Snippets_Wpf/FlowDocumentSnippets/visualbasic/window1.xaml.vb#_flowdocumentpageviewer)]
]]></format>
</remarks>
<altmember cref="P:System.Windows.Controls.FlowDocumentPageViewer.CanDecreaseZoom" />
<altmember cref="P:System.Windows.Controls.FlowDocumentPageViewer.CanIncreaseZoom" />
<altmember cref="M:System.Windows.Controls.FlowDocumentPageViewer.DecreaseZoom" />
<altmember cref="M:System.Windows.Controls.FlowDocumentPageViewer.IncreaseZoom" />
<altmember cref="P:System.Windows.Controls.FlowDocumentPageViewer.MaxZoom" />
<altmember cref="P:System.Windows.Controls.FlowDocumentPageViewer.ZoomIncrement" />
</Docs>
</Member>
<Member MemberName="MinZoomProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty MinZoomProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty MinZoomProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.FlowDocumentPageViewer.MinZoomProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly MinZoomProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ MinZoomProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable MinZoomProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.FlowDocumentPageViewer.MinZoomProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.FlowDocumentPageViewer.MinZoom" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="OnApplyTemplate">
<MemberSignature Language="C#" Value="public override void OnApplyTemplate ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance void OnApplyTemplate() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.FlowDocumentPageViewer.OnApplyTemplate" />
<MemberSignature Language="VB.NET" Value="Public Overrides Sub OnApplyTemplate ()" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; override void OnApplyTemplate();" />
<MemberSignature Language="F#" Value="override this.OnApplyTemplate : unit -&gt; unit" Usage="flowDocumentPageViewer.OnApplyTemplate " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Builds the visual tree for the <see cref="T:System.Windows.Controls.FlowDocumentPageViewer" />.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is called whenever <xref:System.Windows.FrameworkElement.ApplyTemplate%2A> is called.
This method overrides <xref:System.Windows.FrameworkElement.OnApplyTemplate%2A>.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="OnCancelPrintCommand">
<MemberSignature Language="C#" Value="protected override void OnCancelPrintCommand ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void OnCancelPrintCommand() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.FlowDocumentPageViewer.OnCancelPrintCommand" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub OnCancelPrintCommand ()" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void OnCancelPrintCommand();" />
<MemberSignature Language="F#" Value="override this.OnCancelPrintCommand : unit -&gt; unit" Usage="flowDocumentPageViewer.OnCancelPrintCommand " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Handles the <see cref="P:System.Windows.Input.ApplicationCommands.CancelPrint" /> routed command.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is called when the <xref:System.Windows.Input.ApplicationCommands.CancelPrint%2A> command is called.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="OnContextMenuOpening">
<MemberSignature Language="C#" Value="protected override void OnContextMenuOpening (System.Windows.Controls.ContextMenuEventArgs e);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void OnContextMenuOpening(class System.Windows.Controls.ContextMenuEventArgs e) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.FlowDocumentPageViewer.OnContextMenuOpening(System.Windows.Controls.ContextMenuEventArgs)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub OnContextMenuOpening (e As ContextMenuEventArgs)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void OnContextMenuOpening(System::Windows::Controls::ContextMenuEventArgs ^ e);" />
<MemberSignature Language="F#" Value="override this.OnContextMenuOpening : System.Windows.Controls.ContextMenuEventArgs -&gt; unit" Usage="flowDocumentPageViewer.OnContextMenuOpening e" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="e" Type="System.Windows.Controls.ContextMenuEventArgs" />
</Parameters>
<Docs>
<param name="e">Arguments of the event.</param>
<summary>Called whenever an unhandled <see cref="E:System.Windows.FrameworkElement.ContextMenuOpening" /> routed event reaches this class in its route. Implement this method to add class handling for this event.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method has no default implementation. You should still call the base implementation in case an intermediate class in the inheritance has implemented this method.
The purpose of this method is somewhat similar to [!INCLUDE[TLA#tla_clr](~/includes/tlasharptla-clr-md.md)] event pattern On* methods: it provides the means to handle the matching event from derived classes with a class handler instead of an instance handler. In this case, the matching event is a routed event. The implementation pattern of the On* methods is different for routed events because the routed event might have been raised by a child element, not necessarily the element that will invoke handlers, so your implementation will need to take the event arguments' source properties into account (and should not try to re-raise the event in most cases). Subclasses of <xref:System.Windows.Controls.FlowDocumentPageViewer> could call private class handler methods when the event is received along the route. One potential scenario is to take the arguments of the event and deliberately mark the event as handled.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="OnCreateAutomationPeer">
<MemberSignature Language="C#" Value="protected override System.Windows.Automation.Peers.AutomationPeer OnCreateAutomationPeer ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance class System.Windows.Automation.Peers.AutomationPeer OnCreateAutomationPeer() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.FlowDocumentPageViewer.OnCreateAutomationPeer" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Function OnCreateAutomationPeer () As AutomationPeer" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override System::Windows::Automation::Peers::AutomationPeer ^ OnCreateAutomationPeer();" />
<MemberSignature Language="F#" Value="override this.OnCreateAutomationPeer : unit -&gt; System.Windows.Automation.Peers.AutomationPeer" Usage="flowDocumentPageViewer.OnCreateAutomationPeer " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Automation.Peers.AutomationPeer</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Provides an appropriate <see cref="T:System.Windows.Automation.Peers.AutomationPeer" /> implementation for this control, as part of the [!INCLUDE[TLA2#tla_winclient](~/includes/tla2sharptla-winclient-md.md)] automation infrastructure.</summary>
<returns>The appropriate <see cref="T:System.Windows.Automation.Peers.AutomationPeer" /> implementation for this control.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="OnDecreaseZoomCommand">
<MemberSignature Language="C#" Value="protected virtual void OnDecreaseZoomCommand ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnDecreaseZoomCommand() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.FlowDocumentPageViewer.OnDecreaseZoomCommand" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Sub OnDecreaseZoomCommand ()" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; virtual void OnDecreaseZoomCommand();" />
<MemberSignature Language="F#" Value="abstract member OnDecreaseZoomCommand : unit -&gt; unit&#xA;override this.OnDecreaseZoomCommand : unit -&gt; unit" Usage="flowDocumentPageViewer.OnDecreaseZoomCommand " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Handles the <see cref="P:System.Windows.Input.NavigationCommands.DecreaseZoom" /> routed command.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is called when the <xref:System.Windows.Input.NavigationCommands.DecreaseZoom%2A> command is called.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="OnDocumentChanged">
<MemberSignature Language="C#" Value="protected override void OnDocumentChanged ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void OnDocumentChanged() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.FlowDocumentPageViewer.OnDocumentChanged" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub OnDocumentChanged ()" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void OnDocumentChanged();" />
<MemberSignature Language="F#" Value="override this.OnDocumentChanged : unit -&gt; unit" Usage="flowDocumentPageViewer.OnDocumentChanged " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Called when the <see cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.Document" /> property is changed.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method overrides <xref:System.Windows.Controls.Primitives.DocumentViewerBase.OnDocumentChanged%2A>.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="OnFindCommand">
<MemberSignature Language="C#" Value="protected virtual void OnFindCommand ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnFindCommand() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.FlowDocumentPageViewer.OnFindCommand" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Sub OnFindCommand ()" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; virtual void OnFindCommand();" />
<MemberSignature Language="F#" Value="abstract member OnFindCommand : unit -&gt; unit&#xA;override this.OnFindCommand : unit -&gt; unit" Usage="flowDocumentPageViewer.OnFindCommand " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Handles the <see cref="P:System.Windows.Input.ApplicationCommands.Find" /> routed command.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is called when the <xref:System.Windows.Input.ApplicationCommands.Find%2A> command is called.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="OnFirstPageCommand">
<MemberSignature Language="C#" Value="protected override void OnFirstPageCommand ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void OnFirstPageCommand() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.FlowDocumentPageViewer.OnFirstPageCommand" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub OnFirstPageCommand ()" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void OnFirstPageCommand();" />
<MemberSignature Language="F#" Value="override this.OnFirstPageCommand : unit -&gt; unit" Usage="flowDocumentPageViewer.OnFirstPageCommand " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Handles the <see cref="P:System.Windows.Input.NavigationCommands.FirstPage" /> routed command.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is called when the <xref:System.Windows.Input.NavigationCommands.FirstPage%2A> command is called.
This method overrides <xref:System.Windows.Controls.Primitives.DocumentViewerBase.OnFirstPageCommand%2A>.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="OnGoToPageCommand">
<MemberSignature Language="C#" Value="protected override void OnGoToPageCommand (int pageNumber);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void OnGoToPageCommand(int32 pageNumber) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.FlowDocumentPageViewer.OnGoToPageCommand(System.Int32)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub OnGoToPageCommand (pageNumber As Integer)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void OnGoToPageCommand(int pageNumber);" />
<MemberSignature Language="F#" Value="override this.OnGoToPageCommand : int -&gt; unit" Usage="flowDocumentPageViewer.OnGoToPageCommand pageNumber" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="pageNumber" Type="System.Int32" />
</Parameters>
<Docs>
<param name="pageNumber">The page number to go to.</param>
<summary>Handles the <see cref="P:System.Windows.Input.NavigationCommands.GoToPage" /> routed command.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is called when the <xref:System.Windows.Input.NavigationCommands.GoToPage%2A> command is called.
This method overrides <xref:System.Windows.Controls.Primitives.DocumentViewerBase.OnGoToPageCommand%2A>.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="OnIncreaseZoomCommand">
<MemberSignature Language="C#" Value="protected virtual void OnIncreaseZoomCommand ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnIncreaseZoomCommand() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.FlowDocumentPageViewer.OnIncreaseZoomCommand" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Sub OnIncreaseZoomCommand ()" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; virtual void OnIncreaseZoomCommand();" />
<MemberSignature Language="F#" Value="abstract member OnIncreaseZoomCommand : unit -&gt; unit&#xA;override this.OnIncreaseZoomCommand : unit -&gt; unit" Usage="flowDocumentPageViewer.OnIncreaseZoomCommand " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Handles the <see cref="P:System.Windows.Input.NavigationCommands.IncreaseZoom" /> routed command.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is called when the <xref:System.Windows.Input.NavigationCommands.IncreaseZoom%2A> command is called.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="OnKeyDown">
<MemberSignature Language="C#" Value="protected override void OnKeyDown (System.Windows.Input.KeyEventArgs e);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void OnKeyDown(class System.Windows.Input.KeyEventArgs e) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.FlowDocumentPageViewer.OnKeyDown(System.Windows.Input.KeyEventArgs)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub OnKeyDown (e As KeyEventArgs)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void OnKeyDown(System::Windows::Input::KeyEventArgs ^ e);" />
<MemberSignature Language="F#" Value="override this.OnKeyDown : System.Windows.Input.KeyEventArgs -&gt; unit" Usage="flowDocumentPageViewer.OnKeyDown e" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netcore-3.0">
<AttributeName>System.Security.SecurityCritical</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netcore-3.0">
<AttributeName>System.Security.SecurityTreatAsSafe</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="e" Type="System.Windows.Input.KeyEventArgs" />
</Parameters>
<Docs>
<param name="e">A <see cref="T:System.Windows.Input.KeyEventArgs" /> object that contains the arguments associated with the <see cref="E:System.Windows.UIElement.KeyDown" /> routed event.</param>
<summary>Handles the <see cref="E:System.Windows.UIElement.KeyDown" /> routed event.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method overrides <xref:System.Windows.UIElement.OnKeyDown%2A>.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="OnLastPageCommand">
<MemberSignature Language="C#" Value="protected override void OnLastPageCommand ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void OnLastPageCommand() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.FlowDocumentPageViewer.OnLastPageCommand" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub OnLastPageCommand ()" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void OnLastPageCommand();" />
<MemberSignature Language="F#" Value="override this.OnLastPageCommand : unit -&gt; unit" Usage="flowDocumentPageViewer.OnLastPageCommand " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Handles the <see cref="P:System.Windows.Input.NavigationCommands.LastPage" /> routed command.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is called when the <xref:System.Windows.Input.NavigationCommands.LastPage%2A> command is called.
This method overrides <xref:System.Windows.Controls.Primitives.DocumentViewerBase.OnLastPageCommand%2A>.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="OnMouseWheel">
<MemberSignature Language="C#" Value="protected override void OnMouseWheel (System.Windows.Input.MouseWheelEventArgs e);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void OnMouseWheel(class System.Windows.Input.MouseWheelEventArgs e) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.FlowDocumentPageViewer.OnMouseWheel(System.Windows.Input.MouseWheelEventArgs)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub OnMouseWheel (e As MouseWheelEventArgs)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void OnMouseWheel(System::Windows::Input::MouseWheelEventArgs ^ e);" />
<MemberSignature Language="F#" Value="override this.OnMouseWheel : System.Windows.Input.MouseWheelEventArgs -&gt; unit" Usage="flowDocumentPageViewer.OnMouseWheel e" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="e" Type="System.Windows.Input.MouseWheelEventArgs" />
</Parameters>
<Docs>
<param name="e">A <see cref="T:System.Windows.Input.MouseWheelEventArgs" /> object containing arguments associated with the <see cref="E:System.Windows.UIElement.MouseWheel" /> routed event.</param>
<summary>Handles the <see cref="E:System.Windows.UIElement.MouseWheel" /> routed event.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is called whenever the <xref:System.Windows.UIElement.MouseWheel> routed event is raised.
This method overrides <xref:System.Windows.UIElement.OnMouseWheel%2A>.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="OnNextPageCommand">
<MemberSignature Language="C#" Value="protected override void OnNextPageCommand ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void OnNextPageCommand() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.FlowDocumentPageViewer.OnNextPageCommand" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub OnNextPageCommand ()" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void OnNextPageCommand();" />
<MemberSignature Language="F#" Value="override this.OnNextPageCommand : unit -&gt; unit" Usage="flowDocumentPageViewer.OnNextPageCommand " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Handles the <see cref="P:System.Windows.Input.NavigationCommands.NextPage" /> routed command.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is called when the <xref:System.Windows.Input.NavigationCommands.NextPage%2A> command is called.
This method overrides <xref:System.Windows.Controls.Primitives.DocumentViewerBase.OnNextPageCommand%2A>.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="OnPageViewsChanged">
<MemberSignature Language="C#" Value="protected override void OnPageViewsChanged ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void OnPageViewsChanged() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.FlowDocumentPageViewer.OnPageViewsChanged" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub OnPageViewsChanged ()" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void OnPageViewsChanged();" />
<MemberSignature Language="F#" Value="override this.OnPageViewsChanged : unit -&gt; unit" Usage="flowDocumentPageViewer.OnPageViewsChanged " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Handles the <see cref="E:System.Windows.Controls.Primitives.DocumentViewerBase.PageViewsChanged" /> routed event.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is called whenever the <xref:System.Windows.Controls.Primitives.DocumentViewerBase.PageViewsChanged> routed event is raised.
This method overrides <xref:System.Windows.Controls.Primitives.DocumentViewerBase.OnPageViewsChanged%2A>.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="OnPreviousPageCommand">
<MemberSignature Language="C#" Value="protected override void OnPreviousPageCommand ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void OnPreviousPageCommand() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.FlowDocumentPageViewer.OnPreviousPageCommand" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub OnPreviousPageCommand ()" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void OnPreviousPageCommand();" />
<MemberSignature Language="F#" Value="override this.OnPreviousPageCommand : unit -&gt; unit" Usage="flowDocumentPageViewer.OnPreviousPageCommand " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Handles the <see cref="P:System.Windows.Input.NavigationCommands.PreviousPage" /> routed command.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is called when the <xref:System.Windows.Input.NavigationCommands.PreviousPage%2A> command is called.
This method overrides <xref:System.Windows.Controls.Primitives.DocumentViewerBase.OnPreviousPageCommand%2A>.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="OnPrintCommand">
<MemberSignature Language="C#" Value="protected override void OnPrintCommand ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void OnPrintCommand() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.FlowDocumentPageViewer.OnPrintCommand" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub OnPrintCommand ()" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void OnPrintCommand();" />
<MemberSignature Language="F#" Value="override this.OnPrintCommand : unit -&gt; unit" Usage="flowDocumentPageViewer.OnPrintCommand " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Handles the <see cref="P:System.Windows.Input.ApplicationCommands.Print" /> routed command.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is called when the <xref:System.Windows.Input.ApplicationCommands.Print%2A> command is called.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="OnPrintCompleted">
<MemberSignature Language="C#" Value="protected virtual void OnPrintCompleted ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnPrintCompleted() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.FlowDocumentPageViewer.OnPrintCompleted" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Sub OnPrintCompleted ()" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; virtual void OnPrintCompleted();" />
<MemberSignature Language="F#" Value="abstract member OnPrintCompleted : unit -&gt; unit&#xA;override this.OnPrintCompleted : unit -&gt; unit" Usage="flowDocumentPageViewer.OnPrintCompleted " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Called when a printing job has completed.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Selection">
<MemberSignature Language="C#" Value="public System.Windows.Documents.TextSelection Selection { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Windows.Documents.TextSelection Selection" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.FlowDocumentPageViewer.Selection" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Selection As TextSelection" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::Windows::Documents::TextSelection ^ Selection { System::Windows::Documents::TextSelection ^ get(); };" />
<MemberSignature Language="F#" Value="member this.Selection : System.Windows.Documents.TextSelection" Usage="System.Windows.Controls.FlowDocumentPageViewer.Selection" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Documents.TextSelection</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the selected content of the <see cref="T:System.Windows.Controls.FlowDocumentPageViewer" />.</summary>
<value>The selected content of the <see cref="T:System.Windows.Controls.FlowDocumentPageViewer" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<xref:System.Windows.Controls.FlowDocumentPageViewer.Selection%2A> is introduced in the .NET Framework version 3.5. For more information, see [Versions and Dependencies](~/docs/framework/migration-guide/versions-and-dependencies.md).
## Examples
The following example shows how to get the text that a user has selected in the <xref:System.Windows.Controls.FlowDocumentPageViewer>.
[!code-xaml[FlowDocSelection#1](~/samples/snippets/csharp/VS_Snippets_Wpf/FlowDocSelection/CSharp/Window1.xaml#1)]
[!code-csharp[FlowDocSelection#2](~/samples/snippets/csharp/VS_Snippets_Wpf/FlowDocSelection/CSharp/Window1.xaml.cs#2)]
[!code-vb[FlowDocSelection#2](~/samples/snippets/visualbasic/VS_Snippets_Wpf/FlowDocSelection/VisualBasic/Window1.xaml.vb#2)]
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="SelectionBrush">
<MemberSignature Language="C#" Value="public System.Windows.Media.Brush SelectionBrush { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Windows.Media.Brush SelectionBrush" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.FlowDocumentPageViewer.SelectionBrush" />
<MemberSignature Language="VB.NET" Value="Public Property SelectionBrush As Brush" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::Windows::Media::Brush ^ SelectionBrush { System::Windows::Media::Brush ^ get(); void set(System::Windows::Media::Brush ^ value); };" />
<MemberSignature Language="F#" Value="member this.SelectionBrush : System.Windows.Media.Brush with get, set" Usage="System.Windows.Controls.FlowDocumentPageViewer.SelectionBrush" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Media.Brush</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the brush that highlights the selected text.</summary>
<value>A brush that highlights the selected text.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
You can specify the brush that highlights selected text in a <xref:System.Windows.Controls.FlowDocumentPageViewer> by setting the <xref:System.Windows.Controls.FlowDocumentPageViewer.SelectionBrush%2A> and the <xref:System.Windows.Controls.FlowDocumentPageViewer.SelectionOpacity%2A> properties..
## Examples
The following example creates a <xref:System.Windows.Controls.FlowDocumentPageViewer>, sets the <xref:System.Windows.Controls.FlowDocumentPageViewer.SelectionBrush%2A> property to pink, and sets the <xref:System.Windows.Controls.FlowDocumentPageViewer.SelectionOpacity%2A> property to 0.7.
[!code-xaml[FlowDocPgVwSelBrushSnippet#SelectionBrush](~/samples/snippets/csharp/VS_Snippets_Wpf/flowdocpgvwselbrushsnippet/CS/window1.xaml#selectionbrush)]
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="SelectionBrushProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty SelectionBrushProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty SelectionBrushProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.FlowDocumentPageViewer.SelectionBrushProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly SelectionBrushProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ SelectionBrushProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable SelectionBrushProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.FlowDocumentPageViewer.SelectionBrushProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.FlowDocumentPageViewer.SelectionBrush" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SelectionOpacity">
<MemberSignature Language="C#" Value="public double SelectionOpacity { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance float64 SelectionOpacity" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.FlowDocumentPageViewer.SelectionOpacity" />
<MemberSignature Language="VB.NET" Value="Public Property SelectionOpacity As Double" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property double SelectionOpacity { double get(); void set(double value); };" />
<MemberSignature Language="F#" Value="member this.SelectionOpacity : double with get, set" Usage="System.Windows.Controls.FlowDocumentPageViewer.SelectionOpacity" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Double</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the opacity of the <see cref="P:System.Windows.Controls.FlowDocumentPageViewer.SelectionBrush" />.</summary>
<value>The opacity of the <see cref="P:System.Windows.Controls.FlowDocumentPageViewer.SelectionBrush" />. The default is 0.4.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
If you set the <xref:System.Windows.Controls.FlowDocumentPageViewer.SelectionOpacity%2A> to 0, the <xref:System.Windows.Controls.FlowDocumentPageViewer.SelectionBrush%2A> is transparent and is not visible. If you set the <xref:System.Windows.Controls.FlowDocumentPageViewer.SelectionOpacity%2A> to 1.0 or greater, the <xref:System.Windows.Controls.FlowDocumentPageViewer.SelectionBrush%2A> is opaque and the selected text is not visible.
## Examples
The following example creates a <xref:System.Windows.Controls.FlowDocumentPageViewer>, sets the <xref:System.Windows.Controls.FlowDocumentPageViewer.SelectionBrush%2A> property to pink, and sets the <xref:System.Windows.Controls.FlowDocumentPageViewer.SelectionOpacity%2A> property to 0.7.
[!code-xaml[FlowDocPgVwSelBrushSnippet#SelectionBrush](~/samples/snippets/csharp/VS_Snippets_Wpf/flowdocpgvwselbrushsnippet/CS/window1.xaml#selectionbrush)]
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="SelectionOpacityProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty SelectionOpacityProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty SelectionOpacityProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.FlowDocumentPageViewer.SelectionOpacityProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly SelectionOpacityProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ SelectionOpacityProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable SelectionOpacityProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.FlowDocumentPageViewer.SelectionOpacityProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.FlowDocumentPageViewer.SelectionOpacity" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Zoom">
<MemberSignature Language="C#" Value="public double Zoom { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance float64 Zoom" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.FlowDocumentPageViewer.Zoom" />
<MemberSignature Language="VB.NET" Value="Public Property Zoom As Double" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property double Zoom { double get(); void set(double value); };" />
<MemberSignature Language="F#" Value="member this.Zoom : double with get, set" Usage="System.Windows.Controls.FlowDocumentPageViewer.Zoom" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Double</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the current zoom level for the <see cref="T:System.Windows.Controls.FlowDocumentPageViewer" />.</summary>
<value>The current zoom level, interpreted as a percentage. The default is 100.0 (a zoom level of 100%).</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The zoom level is constrained by the values of the <xref:System.Windows.Controls.FlowDocumentPageViewer.MinZoom%2A> and <xref:System.Windows.Controls.FlowDocumentPageViewer.MaxZoom%2A> properties.
<a name="dependencyPropertyInfo_Zoom"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Controls.FlowDocumentPageViewer.ZoomProperty>|
|Metadata properties set to `true`|None|
## Examples
The following example shows how to use this property.
[!code-xaml[FlowDocumentSnippets#_FlowDocumentPageViewerXAML](~/samples/snippets/csharp/VS_Snippets_Wpf/FlowDocumentSnippets/CSharp/Window1.xaml#_flowdocumentpageviewerxaml)]
[!code-csharp[FlowDocumentSnippets#_FlowDocumentPageViewer](~/samples/snippets/csharp/VS_Snippets_Wpf/FlowDocumentSnippets/CSharp/Window1.xaml.cs#_flowdocumentpageviewer)]
[!code-vb[FlowDocumentSnippets#_FlowDocumentPageViewer](~/samples/snippets/visualbasic/VS_Snippets_Wpf/FlowDocumentSnippets/visualbasic/window1.xaml.vb#_flowdocumentpageviewer)]
]]></format>
</remarks>
<altmember cref="P:System.Windows.Controls.FlowDocumentPageViewer.CanDecreaseZoom" />
<altmember cref="P:System.Windows.Controls.FlowDocumentPageViewer.CanIncreaseZoom" />
<altmember cref="M:System.Windows.Controls.FlowDocumentPageViewer.DecreaseZoom" />
<altmember cref="M:System.Windows.Controls.FlowDocumentPageViewer.IncreaseZoom" />
</Docs>
</Member>
<Member MemberName="ZoomIncrement">
<MemberSignature Language="C#" Value="public double ZoomIncrement { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance float64 ZoomIncrement" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.FlowDocumentPageViewer.ZoomIncrement" />
<MemberSignature Language="VB.NET" Value="Public Property ZoomIncrement As Double" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property double ZoomIncrement { double get(); void set(double value); };" />
<MemberSignature Language="F#" Value="member this.ZoomIncrement : double with get, set" Usage="System.Windows.Controls.FlowDocumentPageViewer.ZoomIncrement" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Double</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the zoom increment.</summary>
<value>The current zoom increment, interpreted as a percentage. The default is 10.0 (zoom increments by 10%).</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The zoom increment is the percentage by which the <xref:System.Windows.Controls.FlowDocumentPageViewer.Zoom%2A> level is increased or decreased when the <xref:System.Windows.Input.NavigationCommands.IncreaseZoom%2A> or <xref:System.Windows.Input.NavigationCommands.DecreaseZoom%2A> commands are executed, respectively.
<a name="dependencyPropertyInfo_ZoomIncrement"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Controls.FlowDocumentPageViewer.ZoomIncrementProperty>|
|Metadata properties set to `true`|None|
## Examples
The following example shows how to use this property.
[!code-xaml[FlowDocumentSnippets#_FlowDocumentPageViewerXAML](~/samples/snippets/csharp/VS_Snippets_Wpf/FlowDocumentSnippets/CSharp/Window1.xaml#_flowdocumentpageviewerxaml)]
[!code-csharp[FlowDocumentSnippets#_FlowDocumentPageViewer](~/samples/snippets/csharp/VS_Snippets_Wpf/FlowDocumentSnippets/CSharp/Window1.xaml.cs#_flowdocumentpageviewer)]
[!code-vb[FlowDocumentSnippets#_FlowDocumentPageViewer](~/samples/snippets/visualbasic/VS_Snippets_Wpf/FlowDocumentSnippets/visualbasic/window1.xaml.vb#_flowdocumentpageviewer)]
]]></format>
</remarks>
<altmember cref="P:System.Windows.Controls.FlowDocumentPageViewer.CanDecreaseZoom" />
<altmember cref="P:System.Windows.Controls.FlowDocumentPageViewer.CanIncreaseZoom" />
<altmember cref="M:System.Windows.Controls.FlowDocumentPageViewer.DecreaseZoom" />
<altmember cref="M:System.Windows.Controls.FlowDocumentPageViewer.IncreaseZoom" />
<altmember cref="P:System.Windows.Controls.FlowDocumentPageViewer.MaxZoom" />
<altmember cref="P:System.Windows.Controls.FlowDocumentPageViewer.MinZoom" />
</Docs>
</Member>
<Member MemberName="ZoomIncrementProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty ZoomIncrementProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty ZoomIncrementProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.FlowDocumentPageViewer.ZoomIncrementProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly ZoomIncrementProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ ZoomIncrementProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable ZoomIncrementProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.FlowDocumentPageViewer.ZoomIncrementProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.FlowDocumentPageViewer.ZoomIncrement" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ZoomProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty ZoomProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty ZoomProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.FlowDocumentPageViewer.ZoomProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly ZoomProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ ZoomProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable ZoomProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.FlowDocumentPageViewer.ZoomProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.FlowDocumentPageViewer.Zoom" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.