Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
1608 lines (1518 sloc) 105 KB
<Type Name="DocumentViewerBase" FullName="System.Windows.Controls.Primitives.DocumentViewerBase">
<TypeSignature Language="C#" Value="public abstract class DocumentViewerBase : System.Windows.Controls.Control, IServiceProvider, System.Windows.Markup.IAddChild" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract DocumentViewerBase extends System.Windows.Controls.Control implements class System.IServiceProvider, class System.Windows.Markup.IAddChild" />
<TypeSignature Language="DocId" Value="T:System.Windows.Controls.Primitives.DocumentViewerBase" />
<TypeSignature Language="VB.NET" Value="Public MustInherit Class DocumentViewerBase&#xA;Inherits Control&#xA;Implements IAddChild, IServiceProvider" />
<TypeSignature Language="C++ CLI" Value="public ref class DocumentViewerBase abstract : System::Windows::Controls::Control, IServiceProvider, System::Windows::Markup::IAddChild" />
<TypeSignature Language="F#" Value="type DocumentViewerBase = class&#xA; inherit Control&#xA; interface IAddChild&#xA; interface IServiceProvider" />
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Windows.Controls.Control</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.IServiceProvider</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Windows.Markup.IAddChild</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName>System.Windows.Markup.ContentProperty("Document")</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Provides a base class for viewers that are intended to display fixed or flow content (represented by a <see cref="T:System.Windows.Documents.FixedDocument" /> or <see cref="T:System.Windows.Documents.FlowDocument" />, respectively).</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<xref:System.Windows.Controls.Primitives.DocumentViewerBase> is a minimal base class, intended to provide only basic functionality that is common across document viewing scenarios. This base class provides no user interface.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Controls.FlowDocumentReader" />
<altmember cref="T:System.Windows.Controls.FlowDocumentScrollViewer" />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected DocumentViewerBase ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.Primitives.DocumentViewerBase.#ctor" />
<MemberSignature Language="VB.NET" Value="Protected Sub New ()" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; DocumentViewerBase();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>Initializes base class values when called by a derived class.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CancelPrint">
<MemberSignature Language="C#" Value="public void CancelPrint ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void CancelPrint() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.Primitives.DocumentViewerBase.CancelPrint" />
<MemberSignature Language="VB.NET" Value="Public Sub CancelPrint ()" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; void CancelPrint();" />
<MemberSignature Language="F#" Value="member this.CancelPrint : unit -&gt; unit" Usage="documentViewerBase.CancelPrint " />
<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>Cancels any current printing job.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
<xref:System.Windows.Controls.Primitives.DocumentViewerBase.Print%2A>
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="CanGoToNextPage">
<MemberSignature Language="C#" Value="public virtual bool CanGoToNextPage { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool CanGoToNextPage" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToNextPage" />
<MemberSignature Language="VB.NET" Value="Public Overridable ReadOnly Property CanGoToNextPage As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual property bool CanGoToNextPage { bool get(); };" />
<MemberSignature Language="F#" Value="member this.CanGoToNextPage : bool" Usage="System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToNextPage" />
<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 or not the viewer can jump to the next page in the current <see cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.Document" />.</summary>
<value>
<see langword="true" /> if the viewer can jump to the next page; otherwise, <see langword="false" />.
This property has no default value.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<a name="dependencyPropertyInfo_CanGoToNextPage"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToNextPageProperty>|
|Metadata properties set to `true`|None|
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.NextPage" />
<altmember cref="F:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToPreviousPagePropertyKey" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.PreviousPage" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.FirstPage" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.LastPage" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.GoToPage(System.Int32)" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToPage(System.Int32)" />
</Docs>
</Member>
<Member MemberName="CanGoToNextPageProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty CanGoToNextPageProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty CanGoToNextPageProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToNextPageProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly CanGoToNextPageProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ CanGoToNextPageProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable CanGoToNextPageProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToNextPageProperty" />
<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.Primitives.DocumentViewerBase.CanGoToNextPage" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CanGoToNextPagePropertyKey">
<MemberSignature Language="C#" Value="protected static readonly System.Windows.DependencyPropertyKey CanGoToNextPagePropertyKey;" />
<MemberSignature Language="ILAsm" Value=".field family static initonly class System.Windows.DependencyPropertyKey CanGoToNextPagePropertyKey" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToNextPagePropertyKey" />
<MemberSignature Language="VB.NET" Value="Protected Shared ReadOnly CanGoToNextPagePropertyKey As DependencyPropertyKey " />
<MemberSignature Language="C++ CLI" Value="protected: static initonly System::Windows::DependencyPropertyKey ^ CanGoToNextPagePropertyKey;" />
<MemberSignature Language="F#" Value=" staticval mutable CanGoToNextPagePropertyKey : System.Windows.DependencyPropertyKey" Usage="System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToNextPagePropertyKey" />
<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.Primitives.DocumentViewerBase.CanGoToNextPage" /> dependency property key.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
If you derive from <xref:System.Windows.Controls.Primitives.DocumentViewerBase>, you need this key in order to set the value of the <xref:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToNextPage%2A> dependency property. Call <xref:System.Windows.DependencyObject.SetValue%28System.Windows.DependencyPropertyKey%2CSystem.Object%29>, passing <xref:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToNextPagePropertyKey> as the `key` parameter.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="CanGoToPage">
<MemberSignature Language="C#" Value="public virtual bool CanGoToPage (int pageNumber);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool CanGoToPage(int32 pageNumber) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToPage(System.Int32)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function CanGoToPage (pageNumber As Integer) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual bool CanGoToPage(int pageNumber);" />
<MemberSignature Language="F#" Value="abstract member CanGoToPage : int -&gt; bool&#xA;override this.CanGoToPage : int -&gt; bool" Usage="documentViewerBase.CanGoToPage pageNumber" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="pageNumber" Type="System.Int32" />
</Parameters>
<Docs>
<param name="pageNumber">A page number to check for as a valid jump target.</param>
<summary>Returns a value that indicates whether or the viewer is able to jump to the specified page number.</summary>
<returns>A Boolean value that indicates whether or the viewer is able to jump to the specified page number.</returns>
<remarks>To be added.</remarks>
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.LastPage" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.NextPage" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.PreviousPage" />
<altmember cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToNextPage" />
<altmember cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToPreviousPage" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.GoToPage(System.Int32)" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.FirstPage" />
</Docs>
</Member>
<Member MemberName="CanGoToPreviousPage">
<MemberSignature Language="C#" Value="public virtual bool CanGoToPreviousPage { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool CanGoToPreviousPage" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToPreviousPage" />
<MemberSignature Language="VB.NET" Value="Public Overridable ReadOnly Property CanGoToPreviousPage As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual property bool CanGoToPreviousPage { bool get(); };" />
<MemberSignature Language="F#" Value="member this.CanGoToPreviousPage : bool" Usage="System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToPreviousPage" />
<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 or not the viewer can jump to the previous page in the current <see cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.Document" />.</summary>
<value>
<see langword="true" /> if the viewer can jump to the previous page; otherwise, <see langword="false" />.
This property has no default value.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<a name="dependencyPropertyInfo_CanGoToPreviousPage"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToPreviousPageProperty>|
|Metadata properties set to `true`|None|
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.NextPage" />
<altmember cref="F:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToNextPagePropertyKey" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.PreviousPage" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.FirstPage" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.LastPage" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.GoToPage(System.Int32)" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToPage(System.Int32)" />
</Docs>
</Member>
<Member MemberName="CanGoToPreviousPageProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty CanGoToPreviousPageProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty CanGoToPreviousPageProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToPreviousPageProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly CanGoToPreviousPageProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ CanGoToPreviousPageProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable CanGoToPreviousPageProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToPreviousPageProperty" />
<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.Primitives.DocumentViewerBase.CanGoToPreviousPage" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CanGoToPreviousPagePropertyKey">
<MemberSignature Language="C#" Value="protected static readonly System.Windows.DependencyPropertyKey CanGoToPreviousPagePropertyKey;" />
<MemberSignature Language="ILAsm" Value=".field family static initonly class System.Windows.DependencyPropertyKey CanGoToPreviousPagePropertyKey" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToPreviousPagePropertyKey" />
<MemberSignature Language="VB.NET" Value="Protected Shared ReadOnly CanGoToPreviousPagePropertyKey As DependencyPropertyKey " />
<MemberSignature Language="C++ CLI" Value="protected: static initonly System::Windows::DependencyPropertyKey ^ CanGoToPreviousPagePropertyKey;" />
<MemberSignature Language="F#" Value=" staticval mutable CanGoToPreviousPagePropertyKey : System.Windows.DependencyPropertyKey" Usage="System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToPreviousPagePropertyKey" />
<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.Primitives.DocumentViewerBase.CanGoToPreviousPage" /> dependency property key.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
If you derive from <xref:System.Windows.Controls.Primitives.DocumentViewerBase>, you need this key in order to set the value of the <xref:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToPreviousPage%2A> dependency property. Call <xref:System.Windows.DependencyObject.SetValue%28System.Windows.DependencyPropertyKey%2CSystem.Object%29>, passing <xref:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToPreviousPagePropertyKey> as the `key` parameter.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Document">
<MemberSignature Language="C#" Value="public System.Windows.Documents.IDocumentPaginatorSource Document { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Windows.Documents.IDocumentPaginatorSource Document" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.Primitives.DocumentViewerBase.Document" />
<MemberSignature Language="VB.NET" Value="Public Property Document As IDocumentPaginatorSource" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::Windows::Documents::IDocumentPaginatorSource ^ Document { System::Windows::Documents::IDocumentPaginatorSource ^ get(); void set(System::Windows::Documents::IDocumentPaginatorSource ^ value); };" />
<MemberSignature Language="F#" Value="member this.Document : System.Windows.Documents.IDocumentPaginatorSource with get, set" Usage="System.Windows.Controls.Primitives.DocumentViewerBase.Document" />
<MemberType>Property</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>get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.Documents.IDocumentPaginatorSource</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a <see cref="T:System.Windows.Documents.IDocumentPaginatorSource" /> to be paginated and displayed by the viewer.</summary>
<value>A <see cref="T:System.Windows.Documents.IDocumentPaginatorSource" /> to be paginated and displayed by the viewer.
The default property is **null**.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<a name="dependencyPropertyInfo_Document"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Controls.Primitives.DocumentViewerBase.DocumentProperty>|
|Metadata properties set to `true`|None|
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="DocumentProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty DocumentProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty DocumentProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.Primitives.DocumentViewerBase.DocumentProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly DocumentProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ DocumentProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable DocumentProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.Primitives.DocumentViewerBase.DocumentProperty" />
<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.Primitives.DocumentViewerBase.Document" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="FirstPage">
<MemberSignature Language="C#" Value="public void FirstPage ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void FirstPage() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.Primitives.DocumentViewerBase.FirstPage" />
<MemberSignature Language="VB.NET" Value="Public Sub FirstPage ()" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; void FirstPage();" />
<MemberSignature Language="F#" Value="member this.FirstPage : unit -&gt; unit" Usage="documentViewerBase.FirstPage " />
<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>Causes the viewer to jump to the first page of the current document (represented by the <see cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.Document" /> property).</summary>
<remarks>To be added.</remarks>
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.LastPage" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.NextPage" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.PreviousPage" />
<altmember cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToNextPage" />
<altmember cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToPreviousPage" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.GoToPage(System.Int32)" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToPage(System.Int32)" />
</Docs>
</Member>
<Member MemberName="GetIsMasterPage">
<MemberSignature Language="C#" Value="public static bool GetIsMasterPage (System.Windows.DependencyObject element);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool GetIsMasterPage(class System.Windows.DependencyObject element) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.Primitives.DocumentViewerBase.GetIsMasterPage(System.Windows.DependencyObject)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function GetIsMasterPage (element As DependencyObject) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static bool GetIsMasterPage(System::Windows::DependencyObject ^ element);" />
<MemberSignature Language="F#" Value="static member GetIsMasterPage : System.Windows.DependencyObject -&gt; bool" Usage="System.Windows.Controls.Primitives.DocumentViewerBase.GetIsMasterPage element" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Windows.DependencyObject" />
</Parameters>
<Docs>
<param name="element">A dependency object from which to retrieve the value of <see cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.IsMasterPage" />.</param>
<summary>Returns the value of the <see cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.IsMasterPage" /> attached property for a specified dependency object.</summary>
<returns>The value of the <see cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.IsMasterPage" /> attached property, read from the dependency object specified by *element*.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The master page corresponds to the <xref:System.Windows.Controls.Primitives.DocumentPageView> object (in the <xref:System.Windows.Controls.Primitives.DocumentViewerBase.PageViews%2A> collection) that includes the <xref:System.Windows.Controls.Primitives.DocumentViewerBase.IsMasterPage%2A> attached property with a value of `true`. For more information, see <xref:System.Windows.Controls.Primitives.DocumentViewerBase.IsMasterPage%2A>.
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">Raised if <paramref name="element" /> is <see langword="null" />.</exception>
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.SetIsMasterPage(System.Windows.DependencyObject,System.Boolean)" />
</Docs>
</Member>
<Member MemberName="GetMasterPageView">
<MemberSignature Language="C#" Value="protected System.Windows.Controls.Primitives.DocumentPageView GetMasterPageView ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig instance class System.Windows.Controls.Primitives.DocumentPageView GetMasterPageView() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.Primitives.DocumentViewerBase.GetMasterPageView" />
<MemberSignature Language="VB.NET" Value="Protected Function GetMasterPageView () As DocumentPageView" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; System::Windows::Controls::Primitives::DocumentPageView ^ GetMasterPageView();" />
<MemberSignature Language="F#" Value="member this.GetMasterPageView : unit -&gt; System.Windows.Controls.Primitives.DocumentPageView" Usage="documentViewerBase.GetMasterPageView " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Controls.Primitives.DocumentPageView</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns the current master <see cref="T:System.Windows.Controls.Primitives.DocumentPageView" /> for this viewer.</summary>
<returns>The current master <see cref="T:System.Windows.Controls.Primitives.DocumentPageView" /> for this viewer, or **null** if no master <see cref="T:System.Windows.Controls.Primitives.DocumentPageView" /> can be found.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
A <xref:System.Windows.Controls.Primitives.DocumentPageView> provides a viewport for a particular page of content (represented by an underlying <xref:System.Windows.Documents.DocumentPage>). The master page corresponds to the <xref:System.Windows.Controls.Primitives.DocumentPageView> object (in the <xref:System.Windows.Controls.Primitives.DocumentViewerBase.PageViews%2A> collection) that includes the <xref:System.Windows.Controls.Primitives.DocumentViewerBase.IsMasterPage%2A> attached property with a value of `true`. For more information, see <xref:System.Windows.Controls.Primitives.DocumentViewerBase.IsMasterPage%2A>.
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.GetPageViewsCollection(System.Boolean@)" />
<altmember cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.PageViews" />
</Docs>
</Member>
<Member MemberName="GetPageViewsCollection">
<MemberSignature Language="C#" Value="protected virtual System.Collections.ObjectModel.ReadOnlyCollection&lt;System.Windows.Controls.Primitives.DocumentPageView&gt; GetPageViewsCollection (out bool changed);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance class System.Collections.ObjectModel.ReadOnlyCollection`1&lt;class System.Windows.Controls.Primitives.DocumentPageView&gt; GetPageViewsCollection([out] bool&amp; changed) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.Primitives.DocumentViewerBase.GetPageViewsCollection(System.Boolean@)" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Function GetPageViewsCollection (ByRef changed As Boolean) As ReadOnlyCollection(Of DocumentPageView)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; virtual System::Collections::ObjectModel::ReadOnlyCollection&lt;System::Windows::Controls::Primitives::DocumentPageView ^&gt; ^ GetPageViewsCollection([Runtime::InteropServices::Out] bool % changed);" />
<MemberSignature Language="F#" Value="abstract member GetPageViewsCollection : bool -&gt; System.Collections.ObjectModel.ReadOnlyCollection&lt;System.Windows.Controls.Primitives.DocumentPageView&gt;&#xA;override this.GetPageViewsCollection : bool -&gt; System.Collections.ObjectModel.ReadOnlyCollection&lt;System.Windows.Controls.Primitives.DocumentPageView&gt;" Usage="documentViewerBase.GetPageViewsCollection changed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.ObjectModel.ReadOnlyCollection&lt;System.Windows.Controls.Primitives.DocumentPageView&gt;</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="changed" Type="System.Boolean" RefType="out" />
</Parameters>
<Docs>
<param name="changed">Returns <see langword="true" /> on the first call to <see cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.GetPageViewsCollection(System.Boolean@)" /> or if the collection has not changed since the previous <see cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.GetPageViewsCollection(System.Boolean@)" /> call; otherwise, <see langword="false" /> if the collection has changed since the last <see cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.GetPageViewsCollection(System.Boolean@)" /> call.</param>
<summary>Creates and returns a new, read-only collection of <see cref="T:System.Windows.Controls.Primitives.DocumentPageView" /> objects that are associated with the current display document (represented by the <see cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.Document" /> property).</summary>
<returns>A read-only collection of <see cref="T:System.Windows.Controls.Primitives.DocumentPageView" /> objects that are associated with the current display document.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
A <xref:System.Windows.Controls.Primitives.DocumentPageView> provides a viewport for a particular page of content (represented by an underlying <xref:System.Windows.Documents.DocumentPage>).
]]></format>
</remarks>
<altmember cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.PageViews" />
</Docs>
</Member>
<Member MemberName="GoToPage">
<MemberSignature Language="C#" Value="public void GoToPage (int pageNumber);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void GoToPage(int32 pageNumber) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.Primitives.DocumentViewerBase.GoToPage(System.Int32)" />
<MemberSignature Language="VB.NET" Value="Public Sub GoToPage (pageNumber As Integer)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; void GoToPage(int pageNumber);" />
<MemberSignature Language="F#" Value="member this.GoToPage : int -&gt; unit" Usage="documentViewerBase.GoToPage pageNumber" />
<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>
<Parameter Name="pageNumber" Type="System.Int32" />
</Parameters>
<Docs>
<param name="pageNumber">The number of the page to jump to.</param>
<summary>Causes the viewer to jump to a specified page number.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
If *pageNumber* specifies an invalid page to go to (as indicated by the <xref:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToPage%2A> method), this method does nothing.
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.FirstPage" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.NextPage" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.PreviousPage" />
<altmember cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToNextPage" />
<altmember cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToPreviousPage" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToPage(System.Int32)" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.LastPage" />
</Docs>
</Member>
<Member MemberName="InvalidatePageViews">
<MemberSignature Language="C#" Value="protected void InvalidatePageViews ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig instance void InvalidatePageViews() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.Primitives.DocumentViewerBase.InvalidatePageViews" />
<MemberSignature Language="VB.NET" Value="Protected Sub InvalidatePageViews ()" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; void InvalidatePageViews();" />
<MemberSignature Language="F#" Value="member this.InvalidatePageViews : unit -&gt; unit" Usage="documentViewerBase.InvalidatePageViews " />
<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>Causes the working <see cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.PageViews" /> collection to be re-built.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="IsMasterPage">
<MemberSignature Language="C#" Value="see GetIsMasterPage, and SetIsMasterPage" />
<MemberSignature Language="ILAsm" Value="see GetIsMasterPage, and SetIsMasterPage" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.Primitives.DocumentViewerBase.IsMasterPage" />
<MemberSignature Language="VB.NET" Value="see GetIsMasterPage, and SetIsMasterPage" />
<MemberSignature Language="F#" Value="see GetIsMasterPage, and SetIsMasterPage" Usage="see GetIsMasterPage, and SetIsMasterPage" />
<MemberType>AttachedProperty</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Gets a value that indicates whether or not a child element in the viewer should be used as a master page.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This attached property is used to indicate which <xref:System.Windows.Controls.Primitives.DocumentPageView> in the <xref:System.Windows.Controls.Primitives.DocumentViewerBase.PageViews%2A> collection represents master page. The master page corresponds to the page that is currently active (being displayed) in the viewer.
Typically, no more than one member of the <xref:System.Windows.Controls.Primitives.DocumentViewerBase.PageViews%2A> collection is marked as the master page. If more than one member of the <xref:System.Windows.Controls.Primitives.DocumentViewerBase.PageViews%2A> collection is marked as the master page, then the first indicated <xref:System.Windows.Controls.Primitives.DocumentPageView> in the logical tree (depth-first) is designated the active master. If no members of the <xref:System.Windows.Controls.Primitives.DocumentViewerBase.PageViews%2A> collection are marked as the master page, then the master page defaults to the first member of the <xref:System.Windows.Controls.Primitives.DocumentViewerBase.PageViews%2A> collection.
Use the <xref:System.Windows.Controls.Primitives.DocumentViewerBase.SetIsMasterPage%2A> method to set and attach this property to a specified element (dependency object). Use the <xref:System.Windows.Controls.Primitives.DocumentViewerBase.GetIsMasterPage%2A> method to read the value of this attached property from a specified element.
<a name="dependencyPropertyInfo_IsMasterPage"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Controls.Primitives.DocumentViewerBase.IsMasterPageProperty>|
|Metadata properties set to `true`|None|
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="IsMasterPageProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty IsMasterPageProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty IsMasterPageProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.Primitives.DocumentViewerBase.IsMasterPageProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly IsMasterPageProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ IsMasterPageProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable IsMasterPageProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.Primitives.DocumentViewerBase.IsMasterPageProperty" />
<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.Primitives.DocumentViewerBase.IsMasterPage" /> attached property</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="LastPage">
<MemberSignature Language="C#" Value="public void LastPage ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void LastPage() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.Primitives.DocumentViewerBase.LastPage" />
<MemberSignature Language="VB.NET" Value="Public Sub LastPage ()" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; void LastPage();" />
<MemberSignature Language="F#" Value="member this.LastPage : unit -&gt; unit" Usage="documentViewerBase.LastPage " />
<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>Causes the viewer to jump to the last page in the current document (represented by the <see cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.Document" /> property).</summary>
<remarks>To be added.</remarks>
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.FirstPage" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.NextPage" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.PreviousPage" />
<altmember cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToNextPage" />
<altmember cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToPreviousPage" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.GoToPage(System.Int32)" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToPage(System.Int32)" />
</Docs>
</Member>
<Member MemberName="LogicalChildren">
<MemberSignature Language="C#" Value="protected internal override System.Collections.IEnumerator LogicalChildren { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Collections.IEnumerator LogicalChildren" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.Primitives.DocumentViewerBase.LogicalChildren" />
<MemberSignature Language="VB.NET" Value="Protected Friend Overrides ReadOnly Property LogicalChildren As IEnumerator" />
<MemberSignature Language="C++ CLI" Value="protected public:&#xA; virtual property System::Collections::IEnumerator ^ LogicalChildren { System::Collections::IEnumerator ^ get(); };" />
<MemberSignature Language="F#" Value="member this.LogicalChildren : System.Collections.IEnumerator" Usage="System.Windows.Controls.Primitives.DocumentViewerBase.LogicalChildren" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.IEnumerator</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets an enumerator for the children in the logical tree of the viewer.</summary>
<value>An <see cref="T:System.Collections.IEnumerator" /> object that can be used to enumerate the logical children of the viewer.
This property has no default value.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
If the viewer has no logical children, an empty enumerator is returned.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="MasterPageNumber">
<MemberSignature Language="C#" Value="public virtual int MasterPageNumber { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 MasterPageNumber" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.Primitives.DocumentViewerBase.MasterPageNumber" />
<MemberSignature Language="VB.NET" Value="Public Overridable ReadOnly Property MasterPageNumber As Integer" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual property int MasterPageNumber { int get(); };" />
<MemberSignature Language="F#" Value="member this.MasterPageNumber : int" Usage="System.Windows.Controls.Primitives.DocumentViewerBase.MasterPageNumber" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the page number for the current master page.</summary>
<value>The page number for the current master page, or **0** if no Document is currently loaded.
This property has no default value.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The master page corresponds to the <xref:System.Windows.Controls.Primitives.DocumentPageView> object (in the <xref:System.Windows.Controls.Primitives.DocumentViewerBase.PageViews%2A> collection) that includes the <xref:System.Windows.Controls.Primitives.DocumentViewerBase.IsMasterPage%2A> attached property with a value of `true`. For more information, see <xref:System.Windows.Controls.Primitives.DocumentViewerBase.IsMasterPage%2A>.
<a name="dependencyPropertyInfo_MasterPageNumber"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Controls.Primitives.DocumentViewerBase.MasterPageNumberProperty>|
|Metadata properties set to `true`|None|
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="MasterPageNumberProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty MasterPageNumberProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty MasterPageNumberProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.Primitives.DocumentViewerBase.MasterPageNumberProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly MasterPageNumberProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ MasterPageNumberProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable MasterPageNumberProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.Primitives.DocumentViewerBase.MasterPageNumberProperty" />
<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.Primitives.DocumentViewerBase.MasterPageNumber" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="MasterPageNumberPropertyKey">
<MemberSignature Language="C#" Value="protected static readonly System.Windows.DependencyPropertyKey MasterPageNumberPropertyKey;" />
<MemberSignature Language="ILAsm" Value=".field family static initonly class System.Windows.DependencyPropertyKey MasterPageNumberPropertyKey" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.Primitives.DocumentViewerBase.MasterPageNumberPropertyKey" />
<MemberSignature Language="VB.NET" Value="Protected Shared ReadOnly MasterPageNumberPropertyKey As DependencyPropertyKey " />
<MemberSignature Language="C++ CLI" Value="protected: static initonly System::Windows::DependencyPropertyKey ^ MasterPageNumberPropertyKey;" />
<MemberSignature Language="F#" Value=" staticval mutable MasterPageNumberPropertyKey : System.Windows.DependencyPropertyKey" Usage="System.Windows.Controls.Primitives.DocumentViewerBase.MasterPageNumberPropertyKey" />
<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.Primitives.DocumentViewerBase.MasterPageNumber" /> dependency property key.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
If you derive from <xref:System.Windows.Controls.Primitives.DocumentViewerBase>, you need this key in order to set the value of the <xref:System.Windows.Controls.Primitives.DocumentViewerBase.MasterPageNumber%2A> dependency property. Call <xref:System.Windows.DependencyObject.SetValue%28System.Windows.DependencyPropertyKey%2CSystem.Object%29>, passing <xref:System.Windows.Controls.Primitives.DocumentViewerBase.MasterPageNumberPropertyKey> as the `key` parameter.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="NextPage">
<MemberSignature Language="C#" Value="public void NextPage ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void NextPage() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.Primitives.DocumentViewerBase.NextPage" />
<MemberSignature Language="VB.NET" Value="Public Sub NextPage ()" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; void NextPage();" />
<MemberSignature Language="F#" Value="member this.NextPage : unit -&gt; unit" Usage="documentViewerBase.NextPage " />
<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>Causes the viewer to jump to the next page in the current document (represented by the <see cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.Document" /> property).</summary>
<remarks>To be added.</remarks>
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.FirstPage" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.LastPage" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.PreviousPage" />
<altmember cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToNextPage" />
<altmember cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToPreviousPage" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.GoToPage(System.Int32)" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToPage(System.Int32)" />
</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.Primitives.DocumentViewerBase.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="documentViewerBase.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 viewer.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is invoked whenever <xref:System.Windows.FrameworkElement.ApplyTemplate%2A> is called.
This method overrides <xref:System.Windows.FrameworkElement.OnApplyTemplate%2A>.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="OnBringIntoView">
<MemberSignature Language="C#" Value="protected virtual void OnBringIntoView (System.Windows.DependencyObject element, System.Windows.Rect rect, int pageNumber);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnBringIntoView(class System.Windows.DependencyObject element, valuetype System.Windows.Rect rect, int32 pageNumber) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnBringIntoView(System.Windows.DependencyObject,System.Windows.Rect,System.Int32)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; virtual void OnBringIntoView(System::Windows::DependencyObject ^ element, System::Windows::Rect rect, int pageNumber);" />
<MemberSignature Language="F#" Value="abstract member OnBringIntoView : System.Windows.DependencyObject * System.Windows.Rect * int -&gt; unit&#xA;override this.OnBringIntoView : System.Windows.DependencyObject * System.Windows.Rect * int -&gt; unit" Usage="documentViewerBase.OnBringIntoView (element, rect, 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="element" Type="System.Windows.DependencyObject" />
<Parameter Name="rect" Type="System.Windows.Rect" />
<Parameter Name="pageNumber" Type="System.Int32" />
</Parameters>
<Docs>
<param name="element">The element from which the <see cref="E:System.Windows.FrameworkElement.RequestBringIntoView" /> event originated.</param>
<param name="rect">A rectangular region, in the coordinate space of <paramref name="element" />, which should be made visible.</param>
<param name="pageNumber">The page number for the page that contains <paramref name="element" />.</param>
<summary>Invoked whenever the <see cref="E:System.Windows.FrameworkElement.RequestBringIntoView" /> event reaches an element derived from this class in its route. Implement this method to add class handling for this event.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The base implementation of this method will cause the viewer to jump to the page indicated by *pageNumber*.
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">Raised if *element* is **null**.</exception>
</Docs>
</Member>
<Member MemberName="OnCancelPrintCommand">
<MemberSignature Language="C#" Value="protected virtual void OnCancelPrintCommand ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnCancelPrintCommand() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnCancelPrintCommand" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Sub OnCancelPrintCommand ()" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; virtual void OnCancelPrintCommand();" />
<MemberSignature Language="F#" Value="abstract member OnCancelPrintCommand : unit -&gt; unit&#xA;override this.OnCancelPrintCommand : unit -&gt; unit" Usage="documentViewerBase.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 invoked.
]]></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.Primitives.DocumentViewerBase.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="documentViewerBase.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>Creates and returns an <see cref="T:System.Windows.Automation.Peers.AutomationPeer" /> object for this viewer.</summary>
<returns>An <see cref="T:System.Windows.Automation.Peers.AutomationPeer" /> object for this viewer.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method overrides <xref:System.Windows.ContentElement.OnCreateAutomationPeer%2A>.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="OnDocumentChanged">
<MemberSignature Language="C#" Value="protected virtual void OnDocumentChanged ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnDocumentChanged() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnDocumentChanged" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Sub OnDocumentChanged ()" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; virtual void OnDocumentChanged();" />
<MemberSignature Language="F#" Value="abstract member OnDocumentChanged : unit -&gt; unit&#xA;override this.OnDocumentChanged : unit -&gt; unit" Usage="documentViewerBase.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 whenever the <see cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.Document" /> property is modified.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method causes the working set of <xref:System.Windows.Controls.Primitives.DocumentPageView> objects (represented by the <xref:System.Windows.Controls.Primitives.DocumentViewerBase.PageViews%2A> property) to be invalidated and regenerated.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="OnDpiChanged">
<MemberSignature Language="C#" Value="protected override void OnDpiChanged (System.Windows.DpiScale oldDpiScaleInfo, System.Windows.DpiScale newDpiScaleInfo);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void OnDpiChanged(valuetype System.Windows.DpiScale oldDpiScaleInfo, valuetype System.Windows.DpiScale newDpiScaleInfo) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnDpiChanged(System.Windows.DpiScale,System.Windows.DpiScale)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub OnDpiChanged (oldDpiScaleInfo As DpiScale, newDpiScaleInfo As DpiScale)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void OnDpiChanged(System::Windows::DpiScale oldDpiScaleInfo, System::Windows::DpiScale newDpiScaleInfo);" />
<MemberSignature Language="F#" Value="override this.OnDpiChanged : System.Windows.DpiScale * System.Windows.DpiScale -&gt; unit" Usage="documentViewerBase.OnDpiChanged (oldDpiScaleInfo, newDpiScaleInfo)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="oldDpiScaleInfo" Type="System.Windows.DpiScale" Index="0" FrameworkAlternate="netcore-3.0;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<Parameter Name="newDpiScaleInfo" Type="System.Windows.DpiScale" Index="1" FrameworkAlternate="netcore-3.0;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
</Parameters>
<Docs>
<param name="oldDpiScaleInfo">The previous DPI scale setting.</param>
<param name="newDpiScaleInfo">The new DPI scale setting.</param>
<summary>Invoked when the DPI scale changes. Sets the DPI of the flow document to the new scale.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="OnFirstPageCommand">
<MemberSignature Language="C#" Value="protected virtual void OnFirstPageCommand ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnFirstPageCommand() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnFirstPageCommand" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Sub OnFirstPageCommand ()" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; virtual void OnFirstPageCommand();" />
<MemberSignature Language="F#" Value="abstract member OnFirstPageCommand : unit -&gt; unit&#xA;override this.OnFirstPageCommand : unit -&gt; unit" Usage="documentViewerBase.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
The <xref:System.Windows.Input.NavigationCommands.FirstPage%2A> routed command causes the viewer to jump to the first page in the current <xref:System.Windows.Controls.Primitives.DocumentViewerBase.Document%2A>.
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnLastPageCommand" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnGoToPageCommand(System.Int32)" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnNextPageCommand" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnPreviousPageCommand" />
</Docs>
</Member>
<Member MemberName="OnGoToPageCommand">
<MemberSignature Language="C#" Value="protected virtual void OnGoToPageCommand (int pageNumber);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnGoToPageCommand(int32 pageNumber) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnGoToPageCommand(System.Int32)" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Sub OnGoToPageCommand (pageNumber As Integer)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; virtual void OnGoToPageCommand(int pageNumber);" />
<MemberSignature Language="F#" Value="abstract member OnGoToPageCommand : int -&gt; unit&#xA;override this.OnGoToPageCommand : int -&gt; unit" Usage="documentViewerBase.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 number of the page to jump to.</param>
<summary>Handles the <see cref="P:System.Windows.Input.NavigationCommands.GoToPage" /> routed command.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Windows.Input.NavigationCommands.GoToPage%2A> routed command cause the viewer to jump to an indicated page number in the current <xref:System.Windows.Controls.Primitives.DocumentViewerBase.Document%2A>. The <xref:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToPage%2A> method indicates whether or not a specified page number is a valid page to jump to in the current document.
If *pageNumber* specifies an invalid page to go to (as indicated by the <xref:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToPage%2A> method), this method does nothing.
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnFirstPageCommand" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnLastPageCommand" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnNextPageCommand" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnPreviousPageCommand" />
</Docs>
</Member>
<Member MemberName="OnLastPageCommand">
<MemberSignature Language="C#" Value="protected virtual void OnLastPageCommand ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnLastPageCommand() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnLastPageCommand" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Sub OnLastPageCommand ()" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; virtual void OnLastPageCommand();" />
<MemberSignature Language="F#" Value="abstract member OnLastPageCommand : unit -&gt; unit&#xA;override this.OnLastPageCommand : unit -&gt; unit" Usage="documentViewerBase.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
The <xref:System.Windows.Input.NavigationCommands.LastPage%2A> routed command causes the viewer to jump to the last page in the current <xref:System.Windows.Controls.Primitives.DocumentViewerBase.Document%2A>.
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnFirstPageCommand" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnGoToPageCommand(System.Int32)" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnNextPageCommand" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnPreviousPageCommand" />
</Docs>
</Member>
<Member MemberName="OnMasterPageNumberChanged">
<MemberSignature Language="C#" Value="protected virtual void OnMasterPageNumberChanged ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnMasterPageNumberChanged() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnMasterPageNumberChanged" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Sub OnMasterPageNumberChanged ()" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; virtual void OnMasterPageNumberChanged();" />
<MemberSignature Language="F#" Value="abstract member OnMasterPageNumberChanged : unit -&gt; unit&#xA;override this.OnMasterPageNumberChanged : unit -&gt; unit" Usage="documentViewerBase.OnMasterPageNumberChanged " />
<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 whenever the <see cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.MasterPageNumber" /> property is modified.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The master page corresponds to the <xref:System.Windows.Controls.Primitives.DocumentPageView> object (in the <xref:System.Windows.Controls.Primitives.DocumentViewerBase.PageViews%2A> collection) that includes the <xref:System.Windows.Controls.Primitives.DocumentViewerBase.IsMasterPage%2A> attached property with a value of `true`. For more information, see <xref:System.Windows.Controls.Primitives.DocumentViewerBase.IsMasterPage%2A>.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="OnNextPageCommand">
<MemberSignature Language="C#" Value="protected virtual void OnNextPageCommand ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnNextPageCommand() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnNextPageCommand" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Sub OnNextPageCommand ()" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; virtual void OnNextPageCommand();" />
<MemberSignature Language="F#" Value="abstract member OnNextPageCommand : unit -&gt; unit&#xA;override this.OnNextPageCommand : unit -&gt; unit" Usage="documentViewerBase.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
The <xref:System.Windows.Input.NavigationCommands.NextPage%2A> routed command causes the viewer to jump to the next page (if available) in the current <xref:System.Windows.Controls.Primitives.DocumentViewerBase.Document%2A>. The <xref:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToNextPage%2A> property indicates whether or not there is a next page to go to in the current document.
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnFirstPageCommand" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnLastPageCommand" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnGoToPageCommand(System.Int32)" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnPreviousPageCommand" />
</Docs>
</Member>
<Member MemberName="OnPageViewsChanged">
<MemberSignature Language="C#" Value="protected virtual void OnPageViewsChanged ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnPageViewsChanged() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnPageViewsChanged" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Sub OnPageViewsChanged ()" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; virtual void OnPageViewsChanged();" />
<MemberSignature Language="F#" Value="abstract member OnPageViewsChanged : unit -&gt; unit&#xA;override this.OnPageViewsChanged : unit -&gt; unit" Usage="documentViewerBase.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>Called whenever the working set of <see cref="T:System.Windows.Controls.Primitives.DocumentPageView" /> objects for this viewer (represented by the <see cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.PageViews" /> property) is modified.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="OnPreviousPageCommand">
<MemberSignature Language="C#" Value="protected virtual void OnPreviousPageCommand ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnPreviousPageCommand() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnPreviousPageCommand" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Sub OnPreviousPageCommand ()" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; virtual void OnPreviousPageCommand();" />
<MemberSignature Language="F#" Value="abstract member OnPreviousPageCommand : unit -&gt; unit&#xA;override this.OnPreviousPageCommand : unit -&gt; unit" Usage="documentViewerBase.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
The <xref:System.Windows.Input.NavigationCommands.PreviousPage%2A> routed command causes the viewer to jump to the next page (if available) in the current <xref:System.Windows.Controls.Primitives.DocumentViewerBase.Document%2A>. The <xref:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToPreviousPage%2A> property indicates whether or not there is a previous page to go to in the current document.
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnFirstPageCommand" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnLastPageCommand" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnGoToPageCommand(System.Int32)" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnNextPageCommand" />
</Docs>
</Member>
<Member MemberName="OnPrintCommand">
<MemberSignature Language="C#" Value="protected virtual void OnPrintCommand ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnPrintCommand() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnPrintCommand" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Sub OnPrintCommand ()" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; virtual void OnPrintCommand();" />
<MemberSignature Language="F#" Value="abstract member OnPrintCommand : unit -&gt; unit&#xA;override this.OnPrintCommand : unit -&gt; unit" Usage="documentViewerBase.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 whenever the <xref:System.Windows.Input.ApplicationCommands.Print%2A> command is invoked.
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.OnCancelPrintCommand" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.Print" />
</Docs>
</Member>
<Member MemberName="PageCount">
<MemberSignature Language="C#" Value="public int PageCount { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 PageCount" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.Primitives.DocumentViewerBase.PageCount" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property PageCount As Integer" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property int PageCount { int get(); };" />
<MemberSignature Language="F#" Value="member this.PageCount : int" Usage="System.Windows.Controls.Primitives.DocumentViewerBase.PageCount" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the total number of pages in the current <see cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.Document" />.</summary>
<value>The number of pages in the current document, or **0** if no document is currently loaded.
This property has no default value.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This value is updated as content is paginated. Because flow content has no notion of fixed pages, the value of this property may change if the viewer is resized, or if the content being displayed is modified.
<a name="dependencyPropertyInfo_PageCount"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Controls.Primitives.DocumentViewerBase.PageCountProperty>|
|Metadata properties set to `true`|None|
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="PageCountProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty PageCountProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty PageCountProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.Primitives.DocumentViewerBase.PageCountProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly PageCountProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ PageCountProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable PageCountProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.Primitives.DocumentViewerBase.PageCountProperty" />
<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.Primitives.DocumentViewerBase.PageCount" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="PageCountPropertyKey">
<MemberSignature Language="C#" Value="protected static readonly System.Windows.DependencyPropertyKey PageCountPropertyKey;" />
<MemberSignature Language="ILAsm" Value=".field family static initonly class System.Windows.DependencyPropertyKey PageCountPropertyKey" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.Primitives.DocumentViewerBase.PageCountPropertyKey" />
<MemberSignature Language="VB.NET" Value="Protected Shared ReadOnly PageCountPropertyKey As DependencyPropertyKey " />
<MemberSignature Language="C++ CLI" Value="protected: static initonly System::Windows::DependencyPropertyKey ^ PageCountPropertyKey;" />
<MemberSignature Language="F#" Value=" staticval mutable PageCountPropertyKey : System.Windows.DependencyPropertyKey" Usage="System.Windows.Controls.Primitives.DocumentViewerBase.PageCountPropertyKey" />
<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.Primitives.DocumentViewerBase.PageCount" /> dependency property key.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
If you derive from <xref:System.Windows.Controls.Primitives.DocumentViewerBase>, you need this key in order to set the value of the <xref:System.Windows.Controls.Primitives.DocumentViewerBase.PageCount%2A> dependency property. Call <xref:System.Windows.DependencyObject.SetValue%28System.Windows.DependencyPropertyKey%2CSystem.Object%29>, passing <xref:System.Windows.Controls.Primitives.DocumentViewerBase.PageCountPropertyKey> as the `key` parameter.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="PageViews">
<MemberSignature Language="C#" Value="public System.Collections.ObjectModel.ReadOnlyCollection&lt;System.Windows.Controls.Primitives.DocumentPageView&gt; PageViews { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Collections.ObjectModel.ReadOnlyCollection`1&lt;class System.Windows.Controls.Primitives.DocumentPageView&gt; PageViews" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.Primitives.DocumentViewerBase.PageViews" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property PageViews As ReadOnlyCollection(Of DocumentPageView)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::Collections::ObjectModel::ReadOnlyCollection&lt;System::Windows::Controls::Primitives::DocumentPageView ^&gt; ^ PageViews { System::Collections::ObjectModel::ReadOnlyCollection&lt;System::Windows::Controls::Primitives::DocumentPageView ^&gt; ^ get(); };" />
<MemberSignature Language="F#" Value="member this.PageViews : System.Collections.ObjectModel.ReadOnlyCollection&lt;System.Windows.Controls.Primitives.DocumentPageView&gt;" Usage="System.Windows.Controls.Primitives.DocumentViewerBase.PageViews" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.CLSCompliant(false)</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Collections.ObjectModel.ReadOnlyCollection&lt;System.Windows.Controls.Primitives.DocumentPageView&gt;</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a read-only collection of the active <see cref="T:System.Windows.Controls.Primitives.DocumentPageView" /> objects contained within the viewer.</summary>
<value>A read-only collection of the active <see cref="T:System.Windows.Controls.Primitives.DocumentPageView" /> objects contained within the viewer.
This property has no default value.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
A <xref:System.Windows.Controls.Primitives.DocumentPageView> provides a viewport for a particular page of content (represented by an underlying <xref:System.Windows.Documents.DocumentPage>). The set of <xref:System.Windows.Controls.Primitives.DocumentPageView> objects represented by the <xref:System.Windows.Controls.Primitives.DocumentViewerBase.PageViews%2A> property is used by the viewer in order to display content.
The master page corresponds to the <xref:System.Windows.Controls.Primitives.DocumentPageView> object (in the <xref:System.Windows.Controls.Primitives.DocumentViewerBase.PageViews%2A> collection) that includes the <xref:System.Windows.Controls.Primitives.DocumentViewerBase.IsMasterPage%2A> attached property with a value of `true`. For more information, see <xref:System.Windows.Controls.Primitives.DocumentViewerBase.IsMasterPage%2A>.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="PageViewsChanged">
<MemberSignature Language="C#" Value="public event EventHandler PageViewsChanged;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler PageViewsChanged" />
<MemberSignature Language="DocId" Value="E:System.Windows.Controls.Primitives.DocumentViewerBase.PageViewsChanged" />
<MemberSignature Language="VB.NET" Value="Public Custom Event PageViewsChanged As EventHandler " FrameworkAlternate="netcore-3.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event EventHandler ^ PageViewsChanged;" />
<MemberSignature Language="F#" Value="member this.PageViewsChanged : EventHandler " Usage="member this.PageViewsChanged : System.EventHandler " />
<MemberSignature Language="VB.NET" Value="Public Event PageViewsChanged As EventHandler " FrameworkAlternate="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" />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when the collection of <see cref="T:System.Windows.Controls.Primitives.DocumentPageView" /> items associated with this viewer (represented by the <see cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.PageViews" /> property) changes.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="PreviousPage">
<MemberSignature Language="C#" Value="public void PreviousPage ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void PreviousPage() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.Primitives.DocumentViewerBase.PreviousPage" />
<MemberSignature Language="VB.NET" Value="Public Sub PreviousPage ()" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; void PreviousPage();" />
<MemberSignature Language="F#" Value="member this.PreviousPage : unit -&gt; unit" Usage="documentViewerBase.PreviousPage " />
<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>Causes the viewer to jump to the previous page of the current document (represented by the <see cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.Document" /> property).</summary>
<remarks>To be added.</remarks>
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.FirstPage" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.NextPage" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.LastPage" />
<altmember cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToNextPage" />
<altmember cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToPreviousPage" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.GoToPage(System.Int32)" />
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.CanGoToPage(System.Int32)" />
</Docs>
</Member>
<Member MemberName="Print">
<MemberSignature Language="C#" Value="public void Print ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Print() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.Primitives.DocumentViewerBase.Print" />
<MemberSignature Language="VB.NET" Value="Public Sub Print ()" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; void Print();" />
<MemberSignature Language="F#" Value="member this.Print : unit -&gt; unit" Usage="documentViewerBase.Print " />
<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>Invokes a standard **Print** dialog which can be used to print the contents of the viewer and configure printing preferences.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The following figure shows an example of a standard **Print** dialog. Note that the specific appearance of the **Print** dialog may vary depending on the hosting computer's configuration.
![Screenshot: Print dialog box](~/add/media/flowdocrdr-print.png "Screenshot: Print dialog box")
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.CancelPrint" />
</Docs>
</Member>
<Member MemberName="SetIsMasterPage">
<MemberSignature Language="C#" Value="public static void SetIsMasterPage (System.Windows.DependencyObject element, bool value);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void SetIsMasterPage(class System.Windows.DependencyObject element, bool value) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.Primitives.DocumentViewerBase.SetIsMasterPage(System.Windows.DependencyObject,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Shared Sub SetIsMasterPage (element As DependencyObject, value As Boolean)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static void SetIsMasterPage(System::Windows::DependencyObject ^ element, bool value);" />
<MemberSignature Language="F#" Value="static member SetIsMasterPage : System.Windows.DependencyObject * bool -&gt; unit" Usage="System.Windows.Controls.Primitives.DocumentViewerBase.SetIsMasterPage (element, value)" />
<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="element" Type="System.Windows.DependencyObject" />
<Parameter Name="value" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="element">A dependency object on which to set the value of <see cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.IsMasterPage" />.</param>
<param name="value">The new value to set the property to.</param>
<summary>Sets the <see cref="P:System.Windows.Controls.Primitives.DocumentViewerBase.IsMasterPage" /> attached property on a specified dependency object.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The master page corresponds to the <xref:System.Windows.Controls.Primitives.DocumentPageView> object (in the <xref:System.Windows.Controls.Primitives.DocumentViewerBase.PageViews%2A> collection) that includes the <xref:System.Windows.Controls.Primitives.DocumentViewerBase.IsMasterPage%2A> attached property with a value of `true`. For more information, see <xref:System.Windows.Controls.Primitives.DocumentViewerBase.IsMasterPage%2A>.
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">Raised if *element* is **null**.</exception>
<altmember cref="M:System.Windows.Controls.Primitives.DocumentViewerBase.GetIsMasterPage(System.Windows.DependencyObject)" />
</Docs>
</Member>
<Member MemberName="System.IServiceProvider.GetService">
<MemberSignature Language="C#" Value="object IServiceProvider.GetService (Type serviceType);" />
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance object System.IServiceProvider.GetService(class System.Type serviceType) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.Primitives.DocumentViewerBase.System#IServiceProvider#GetService(System.Type)" />
<MemberSignature Language="VB.NET" Value="Function GetService (serviceType As Type) As Object Implements IServiceProvider.GetService" />
<MemberSignature Language="C++ CLI" Value=" virtual System::Object ^ System.IServiceProvider.GetService(Type ^ serviceType) = IServiceProvider::GetService;" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.IServiceProvider.GetService(System.Type)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="serviceType" Type="System.Type" />
</Parameters>
<Docs>
<param name="serviceType">An object that specifies the type of service object to get.</param>
<summary>This type or member supports the [!INCLUDE[TLA#tla_winclient](~/includes/tlasharptla-winclient-md.md)] infrastructure and is not intended to be used directly from your code.</summary>
<returns>A service object of type <paramref name="serviceType" />.</returns>
<remarks>To be added.</remarks>
<altmember cref="T:System.IServiceProvider" />
</Docs>
</Member>
<Member MemberName="System.Windows.Markup.IAddChild.AddChild">
<MemberSignature Language="C#" Value="void IAddChild.AddChild (object value);" />
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void System.Windows.Markup.IAddChild.AddChild(object value) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.Primitives.DocumentViewerBase.System#Windows#Markup#IAddChild#AddChild(System.Object)" />
<MemberSignature Language="VB.NET" Value="Sub AddChild (value As Object) Implements IAddChild.AddChild" />
<MemberSignature Language="C++ CLI" Value=" virtual void System.Windows.Markup.IAddChild.AddChild(System::Object ^ value) = System::Windows::Markup::IAddChild::AddChild;" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Windows.Markup.IAddChild.AddChild(System.Object)</InterfaceMember>
</Implements>
<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="value" Type="System.Object" />
</Parameters>
<Docs>
<param name="value">An object to add as a child.</param>
<summary>This type or member supports the [!INCLUDE[TLA#tla_winclient](~/includes/tlasharptla-winclient-md.md)] infrastructure and is not intended to be used directly from your code.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="System.Windows.Markup.IAddChild.AddText">
<MemberSignature Language="C#" Value="void IAddChild.AddText (string text);" />
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void System.Windows.Markup.IAddChild.AddText(string text) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.Primitives.DocumentViewerBase.System#Windows#Markup#IAddChild#AddText(System.String)" />
<MemberSignature Language="VB.NET" Value="Sub AddText (text As String) Implements IAddChild.AddText" />
<MemberSignature Language="C++ CLI" Value=" virtual void System.Windows.Markup.IAddChild.AddText(System::String ^ text) = System::Windows::Markup::IAddChild::AddText;" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Windows.Markup.IAddChild.AddText(System.String)</InterfaceMember>
</Implements>
<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="text" Type="System.String" />
</Parameters>
<Docs>
<param name="text">A string to add to the object.</param>
<summary>This type or member supports the [!INCLUDE[TLA#tla_winclient](~/includes/tlasharptla-winclient-md.md)] infrastructure and is not intended to be used directly from your code.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.