FitToWidthCommand Property

DocumentViewer.FitToWidthCommand Property


Gets the RoutedUICommand that performs the FitToWidth operation.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public static RoutedUICommand FitToWidthCommand { get; }

Property Value

Type: System.Windows.Input.RoutedUICommand

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.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft