FlowDocumentReader.IsTwoPageViewEnabled Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public bool IsTwoPageViewEnabled { get; set; }

Property Value

Type: System.Boolean

true to indicate that TwoPage is available as a viewing mode; otherwise, false. The default is true.

Exception Condition
ArgumentException

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

At least one viewing mode must be enabled.

Identifier field

IsTwoPageViewEnabledProperty

Metadata properties set to true

None

.NET Framework
Available since 3.0
Return to top
Show: