Export (0) Print
Expand All

FlowDocumentReader.IsPageViewEnabled Property

Gets or sets a value that indicates whether Page is available as a viewing mode.

Namespace:  System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

public bool IsPageViewEnabled { get; set; }
<object IsPageViewEnabled="bool" .../>

Property Value

Type: System.Boolean
true to indicate that single-page viewing mode is available; otherwise, false. The default is true.

Identifier field

IsPageViewEnabledProperty

Metadata properties set to true

None

ExceptionCondition
ArgumentException

Setting this property to false while IsScrollViewEnabled and IsTwoPageViewEnabled are also false.

At least one viewing mode must be enabled.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft