VerticalPageSpacing Property

DocumentViewer.VerticalPageSpacing Property


Gets or sets the vertical spacing between displayed pages.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public double VerticalPageSpacing { get; set; }

Property Value

Type: System.Double

The vertical space between displayed pages in . The default is 10.0.GTMT

Setting the VerticalPageSpacing property adjusts the vertical spacing between pages to the specified value.

The VerticalPageSpacing value must be non-negative. Setting this property to a negative value will raise an ArgumentException exception.

When setting this property in XAML, you cannot use the unit qualifiers (such as in or cm) that are enabled for many other "Height" or "Vertical" properties.

Identifier field


Metadata properties set to true


.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft