|
85 | 85 | <summary>Arranges the content to fit a specified view size.</summary>
|
86 | 86 | <returns>The actual size that the page view used to arrange itself and its children.</returns>
|
87 | 87 | <remarks>
|
88 |
| - <format type="text/markdown"><![CDATA[ |
89 |
| - |
90 |
| -## Remarks |
91 |
| - The returned size will always be less than or equal to the specified `finalSize`. |
92 |
| - |
| 88 | + <format type="text/markdown"><![CDATA[ |
| 89 | +
|
| 90 | +## Remarks |
| 91 | + The returned size will always be less than or equal to the specified `finalSize`. |
| 92 | +
|
93 | 93 | ]]></format>
|
94 | 94 | </remarks>
|
95 | 95 | <altmember cref="M:System.Windows.Controls.Primitives.DocumentPageView.MeasureOverride(System.Windows.Size)" />
|
|
120 | 120 | <Docs>
|
121 | 121 | <summary>Releases all resources used by the <see cref="T:System.Windows.Controls.Primitives.DocumentPageView" />.</summary>
|
122 | 122 | <remarks>
|
123 |
| - <format type="text/markdown">< and [Implementing a Dispose Method](/dotnet/standard/garbage-collection/implementing-dispose). |
127 |
| - |
| 123 | + <format type="text/markdown">< and [Implementing a Dispose Method](/dotnet/standard/garbage-collection/implementing-dispose). |
| 127 | +
|
128 | 128 | > [!NOTE]
|
129 |
| -> Always call <xref:System.Windows.Controls.Primitives.DocumentPageView.Dispose%2A> as the final call to release each <xref:System.Windows.Controls.Primitives.DocumentPageView> instance. If <xref:System.Windows.Controls.Primitives.DocumentPageView.Dispose%2A> is not called, the resources the <xref:System.Windows.Controls.Primitives.DocumentPageView> is using will not be freed until the garbage collector later calls the page viewer's <xref:System.Object.Finalize%2A> method. |
130 |
| - |
| 129 | +> Always call <xref:System.Windows.Controls.Primitives.DocumentPageView.Dispose%2A> as the final call to release each <xref:System.Windows.Controls.Primitives.DocumentPageView> instance. If <xref:System.Windows.Controls.Primitives.DocumentPageView.Dispose%2A> is not called, the resources the <xref:System.Windows.Controls.Primitives.DocumentPageView> is using will not be freed until the garbage collector later calls the page viewer's <xref:System.Object.Finalize%2A> method. |
| 130 | +
|
131 | 131 | ]]></format>
|
132 | 132 | </remarks>
|
133 | 133 | <altmember cref="P:System.Windows.Controls.Primitives.DocumentPageView.IsDisposed" />
|
|
223 | 223 | <summary>Gets the service object of the specified type.</summary>
|
224 | 224 | <returns>A service object of type <paramref name="serviceType" />, or <see langword="null" /> if there is no service object of type <paramref name="serviceType" />.</returns>
|
225 | 225 | <remarks>
|
226 |
| - <format type="text/markdown"><![CDATA[ |
227 |
| - |
228 |
| -## Remarks |
229 |
| - <xref:System.Windows.Controls.Primitives.DocumentPageView.GetService%2A> returns any services that the <xref:System.Windows.Controls.Primitives.DocumentPageView.DocumentPaginator%2A> provides if the <xref:System.Windows.Controls.Primitives.DocumentPageView.DocumentPaginator%2A> implements <xref:System.IServiceProvider>. |
230 |
| - |
| 226 | + <format type="text/markdown"><![CDATA[ |
| 227 | +
|
| 228 | +## Remarks |
| 229 | + <xref:System.Windows.Controls.Primitives.DocumentPageView.GetService%2A> returns any services that the <xref:System.Windows.Controls.Primitives.DocumentPageView.DocumentPaginator%2A> provides if the <xref:System.Windows.Controls.Primitives.DocumentPageView.DocumentPaginator%2A> implements <xref:System.IServiceProvider>. |
| 230 | +
|
231 | 231 | ]]></format>
|
232 | 232 | </remarks>
|
233 | 233 | </Docs>
|
|
261 | 261 | <summary>Returns the <see cref="T:System.Windows.Media.Visual" /> child at a specified index.</summary>
|
262 | 262 | <returns>The visual child at the specified index.</returns>
|
263 | 263 | <remarks>
|
264 |
| - <format type="text/markdown"><![CDATA[ |
265 |
| - |
266 |
| -## Remarks |
267 |
| - `index` must be between 0 and <xref:System.Windows.Controls.Primitives.DocumentPageView.VisualChildrenCount%2A>-1. |
268 |
| - |
| 264 | + <format type="text/markdown"><![CDATA[ |
| 265 | +
|
| 266 | +## Remarks |
| 267 | + `index` must be between 0 and <xref:System.Windows.Controls.Primitives.DocumentPageView.VisualChildrenCount%2A>-1. |
| 268 | +
|
269 | 269 | ]]></format>
|
270 | 270 | </remarks>
|
271 | 271 | <exception cref="T:System.ArgumentOutOfRangeException">
|
|
336 | 336 | <summary>Returns the available viewport size that can be given to display the current <see cref="P:System.Windows.Controls.Primitives.DocumentPageView.DocumentPage" />.</summary>
|
337 | 337 | <returns>The actual desired size.</returns>
|
338 | 338 | <remarks>
|
339 |
| - <format type="text/markdown"><![CDATA[ |
340 |
| - |
341 |
| -## Remarks |
342 |
| - The returned size is always equal to or less than the given `availableSize`. |
343 |
| - |
| 339 | + <format type="text/markdown"><![CDATA[ |
| 340 | +
|
| 341 | +## Remarks |
| 342 | + The returned size is always equal to or less than the given `availableSize`. |
| 343 | +
|
344 | 344 | ]]></format>
|
345 | 345 | </remarks>
|
346 | 346 | <altmember cref="M:System.Windows.Controls.Primitives.DocumentPageView.ArrangeOverride(System.Windows.Size)" />
|
|
490 | 490 | <summary>Gets or sets the page number of the current page displayed.</summary>
|
491 | 491 | <value>The zero-based page number of the current page displayed. The default is 0.</value>
|
492 | 492 | <remarks>
|
493 |
| - <format type="text/markdown"><![CDATA[ |
494 |
| - |
495 |
| -## Remarks |
496 |
| - <xref:System.Windows.Controls.Primitives.DocumentPageView.PageNumber%2A> is zero-based: 0 is the first page, 1 is the second page, and so on. |
497 |
| - |
498 |
| - No content is displayed if <xref:System.Windows.Controls.Primitives.DocumentPageView.PageNumber%2A> is set to a negative number. |
499 |
| - |
500 |
| -<a name="dependencyPropertyInfo_PageNumber"></a> |
501 |
| -## Dependency Property Information |
502 |
| - |
503 |
| -||| |
504 |
| -|-|-| |
505 |
| -|Identifier field|<xref:System.Windows.Controls.Primitives.DocumentPageView.PageNumberProperty>| |
506 |
| -|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsMeasure%2A>| |
507 |
| - |
| 493 | + <format type="text/markdown"><![CDATA[ |
| 494 | +
|
| 495 | +## Remarks |
| 496 | + <xref:System.Windows.Controls.Primitives.DocumentPageView.PageNumber%2A> is zero-based: 0 is the first page, 1 is the second page, and so on. |
| 497 | +
|
| 498 | + No content is displayed if <xref:System.Windows.Controls.Primitives.DocumentPageView.PageNumber%2A> is set to a negative number. |
| 499 | +
|
| 500 | +<a name="dependencyPropertyInfo_PageNumber"></a> |
| 501 | +## Dependency Property Information |
| 502 | +
|
| 503 | +| Item | Value | |
| 504 | +|-----------------------------------|--------------------------------------------------------| |
| 505 | +|Identifier field|<xref:System.Windows.Controls.Primitives.DocumentPageView.PageNumberProperty>| |
| 506 | +|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsMeasure%2A>| |
| 507 | +
|
508 | 508 | ]]></format>
|
509 | 509 | </remarks>
|
510 | 510 | <altmember cref="P:System.Windows.Controls.Primitives.DocumentPageView.DocumentPage" />
|
|
561 | 561 | <summary>Gets or sets a <see cref="T:System.Windows.Media.Stretch" /> enumeration that specifies how content should be stretched to fill the display page.</summary>
|
562 | 562 | <value>The enumeration value that specifies how content should be stretched to fill the display page. The default is <see cref="F:System.Windows.Media.Stretch.Uniform" />.</value>
|
563 | 563 | <remarks>
|
564 |
| - <format type="text/markdown"><![CDATA[ |
565 |
| - |
566 |
| -## Remarks |
567 |
| - |
568 |
| -<a name="dependencyPropertyInfo_Stretch"></a> |
569 |
| -## Dependency Property Information |
570 |
| - |
571 |
| -||| |
572 |
| -|-|-| |
573 |
| -|Identifier field|<xref:System.Windows.Controls.Primitives.DocumentPageView.StretchProperty>| |
574 |
| -|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsMeasure%2A>| |
575 |
| - |
| 564 | + <format type="text/markdown"><![CDATA[ |
| 565 | +
|
| 566 | +## Remarks |
| 567 | +
|
| 568 | +<a name="dependencyPropertyInfo_Stretch"></a> |
| 569 | +## Dependency Property Information |
| 570 | +
|
| 571 | +| Item | Value | |
| 572 | +|-----------------------------------|--------------------------------------------------------| |
| 573 | +|Identifier field|<xref:System.Windows.Controls.Primitives.DocumentPageView.StretchProperty>| |
| 574 | +|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsMeasure%2A>| |
| 575 | +
|
576 | 576 | ]]></format>
|
577 | 577 | </remarks>
|
578 | 578 | <altmember cref="P:System.Windows.Controls.Primitives.DocumentPageView.StretchDirection" />
|
|
603 | 603 | <summary>Gets or sets a <see cref="T:System.Windows.Controls.StretchDirection" /> enumeration that specifies in what scaling directions <see cref="P:System.Windows.Controls.Primitives.DocumentPageView.Stretch" /> should be applied.</summary>
|
604 | 604 | <value>The enumeration value that specifies in what scaling directions <see cref="P:System.Windows.Controls.Primitives.DocumentPageView.Stretch" /> should be applied. The default is <see cref="F:System.Windows.Controls.StretchDirection.DownOnly" />.</value>
|
605 | 605 | <remarks>
|
606 |
| - <format type="text/markdown"><![CDATA[ |
607 |
| - |
608 |
| -## Remarks |
609 |
| - |
610 |
| -<a name="dependencyPropertyInfo_StretchDirection"></a> |
611 |
| -## Dependency Property Information |
612 |
| - |
613 |
| -||| |
614 |
| -|-|-| |
615 |
| -|Identifier field|<xref:System.Windows.Controls.Primitives.DocumentPageView.StretchDirectionProperty>| |
616 |
| -|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsMeasure%2A>| |
617 |
| - |
| 606 | + <format type="text/markdown"><![CDATA[ |
| 607 | +
|
| 608 | +## Remarks |
| 609 | +
|
| 610 | +<a name="dependencyPropertyInfo_StretchDirection"></a> |
| 611 | +## Dependency Property Information |
| 612 | +
|
| 613 | +| Item | Value | |
| 614 | +|-----------------------------------|--------------------------------------------------------| |
| 615 | +|Identifier field|<xref:System.Windows.Controls.Primitives.DocumentPageView.StretchDirectionProperty>| |
| 616 | +|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsMeasure%2A>| |
| 617 | +
|
618 | 618 | ]]></format>
|
619 | 619 | </remarks>
|
620 | 620 | <altmember cref="P:System.Windows.Controls.Primitives.DocumentPageView.Stretch" />
|
|
0 commit comments