IsTwoPageViewEnabled Property

FlowDocumentReader.IsTwoPageViewEnabled Property

 

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:
© 2016 Microsoft