DocumentViewer.FitToWidthCommand Property


Gets the RoutedUICommand that performs the FitToWidth() operation.

 static property System::Windows::Input::RoutedUICommand ^ FitToWidthCommand { System::Windows::Input::RoutedUICommand ^ get(); };
public static System.Windows.Input.RoutedUICommand FitToWidthCommand { get; }
member this.FitToWidthCommand : System.Windows.Input.RoutedUICommand
Public Shared ReadOnly Property FitToWidthCommand As RoutedUICommand

Property Value

The routed command that performs the FitToWidth() operation.


FitToWidth sets the DocumentViewer control to display a single page width with pages zoomed to the width of the current viewport.

Applies to

See also