A newer version of this page is available. Switch to the current version.

DocumentViewerControl.CommandBarStyle Property

Specifies the type of a Document Viewer toolbar. This is a dependency property.

Namespace: DevExpress.Xpf.DocumentViewer

Assembly: DevExpress.Xpf.DocumentViewer.v19.2.Core.dll

Declaration

public CommandBarStyle CommandBarStyle { get; set; }
Public Property CommandBarStyle As CommandBarStyle

Property Value

Type Description
CommandBarStyle

A CommandBarStyle enumeration value.

Remarks

The Document Preview may include a toolbar, which displays buttons for navigation through a document, printing and exporting. The following two toolbar types are supported.

Use the CommandBarStyle property to specify the toolbar type.

wpf-document-viewer-generate-ribbon-layout

See Also