共用方式為


FlowDocumentReader.OnSwitchViewingModeCommand 方法

定義

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)

參數

viewingMode
FlowDocumentReaderViewingMode

其中一個 FlowDocumentReaderViewingMode 值,這個值指定要切換到哪個檢視模式。

備註

叫用路由命令時會 SwitchViewingMode 呼叫這個方法。

適用於