Back to Devexpress

DocumentPreviewControl.UseOfficeInspiredNavigationPane Property

wpf-devexpress-dot-xpf-dot-printing-dot-documentpreviewcontrol-554e090f.md

latest2.4 KB
Original Source

DocumentPreviewControl.UseOfficeInspiredNavigationPane Property

Specifies whether the Document Preview uses an MS Office-inspired Navigation Pane. This is a dependency property.

Namespace : DevExpress.Xpf.Printing

Assembly : DevExpress.Xpf.Printing.v25.2.dll

NuGet Package : DevExpress.Wpf.Printing

Declaration

csharp
public bool UseOfficeInspiredNavigationPane { get; set; }
vb
Public Property UseOfficeInspiredNavigationPane As Boolean

Property Value

TypeDescription
Boolean

true, if the Navigation Pane is enabled; otherwise, false.

|

Remarks

By default, the Document Preview uses an MS Office-inspired Navigation panel. It speeds up the navigation through complex reports and provides searching for text. The Navigation Pane contains the Document Map , Pages , and Search Results tabs. Click the Navigation Pane button in the Document Preview’s toolbar to show this panel.

Set the UseOfficeInspiredNavigationPane property to false to disable the Navigation Pane.

xaml
<Window
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:dxp="http://schemas.devexpress.com/winfx/2008/xaml/printing">
      ... 
        <dxp:DocumentPreviewControl x:Name="documentPreview1" UseOfficeInspiredNavigationPane="False">
        </dxp:DocumentPreviewControl>
</Window>

This activates the Document Map , Thumbnails and Search panels in the Document Preview toolbar’s Document section.

See Also

DocumentPreviewControl Class

DocumentPreviewControl Members

DevExpress.Xpf.Printing Namespace