Edit

Share via


FlowDocumentReader.OnSwitchViewingModeCommand Method

Definition

protected:
 virtual void OnSwitchViewingModeCommand(System::Windows::Controls::FlowDocumentReaderViewingMode viewingMode);
protected virtual void OnSwitchViewingModeCommand (System.Windows.Controls.FlowDocumentReaderViewingMode viewingMode);
abstract member OnSwitchViewingModeCommand : System.Windows.Controls.FlowDocumentReaderViewingMode -> unit
override this.OnSwitchViewingModeCommand : System.Windows.Controls.FlowDocumentReaderViewingMode -> unit
Protected Overridable Sub OnSwitchViewingModeCommand (viewingMode As FlowDocumentReaderViewingMode)

Parameters

viewingMode
FlowDocumentReaderViewingMode

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

Remarks

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

Applies to