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 调用此方法。

适用于