Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FlowDocumentReader.OnSwitchViewingModeCommand Method (FlowDocumentReaderViewingMode)

 

Handles the SwitchViewingMode routed command.

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

protected virtual void OnSwitchViewingModeCommand(
	FlowDocumentReaderViewingMode viewingMode
)

Parameters

viewingMode
Type: System.Windows.Controls.FlowDocumentReaderViewingMode

One of the FlowDocumentReaderViewingMode values that specifies the viewing mode to switch to.

This method is called when the SwitchViewingMode routed command is invoked.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft