FlowDocumentReader.SwitchViewingModeCommand 필드

정의

보기 모드 전환 명령을 나타내는 값을 가져옵니다.

public: static initonly System::Windows::Input::RoutedUICommand ^ SwitchViewingModeCommand;
public static readonly System.Windows.Input.RoutedUICommand SwitchViewingModeCommand;
 staticval mutable SwitchViewingModeCommand : System.Windows.Input.RoutedUICommand
Public Shared ReadOnly SwitchViewingModeCommand As RoutedUICommand 

필드 값

RoutedUICommand

설명

FlowDocumentReader 클래스에는이 명령에 대 한 기본 제공 처리 (뿐만 아니라 다양 한 애플리케이션 및 탐색 명령에 대 한 기본 제공 처리). 명령 및 명령 바인딩에 대한 자세한 내용은 명령 개요를 참조하세요.

이 명령을 시작하는 대신 관련 FlowDocumentReader명령을 호출 SwitchViewingMode 할 수 있습니다. 결과는 동일합니다.

보기 모드 전환 명령은 매개 변수가 없을 수 있습니다. 이 경우 보기 모드가 열거형 시퀀스에서 사용 가능한 다음 보기 모드 FlowDocumentReaderViewingMode 로 이동하거나 명령 매개 변수에서 RoutedUICommand 이름을 지정 FlowDocumentReaderViewingMode 하여 보기 모드를 지정할 수 있습니다. XAML에서 명령 속성을 설정하는 데 사용하는 경우 명령은 매개 변수가 없어야 합니다.

기본 제공 처리 또는 사용자 고유의 처리로 대체하여 파생 클래스에서 이 명령을 사용하거나 응답할 수도 있습니다. OnSwitchViewingModeCommand 는 템플릿 또는 인스턴스에서 명령 바인딩을 변경하지 않고도 클래스 처리를 변경하는 데 사용할 수 있는 콜백입니다.

XAML 텍스트 사용

<object property="SwitchViewingMode"/>  

적용 대상

추가 정보