FlowDocumentReader.OnSwitchViewingModeCommand Method (FlowDocumentReaderViewingMode)

 
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.

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: