Skip to main content

DocumentViewer.ShowCommandBar Property

Gets or sets whether to show a DocumentViewer‘s command bar. This is a dependency property.

Namespace: DevExpress.WinUI.DocumentViewer

Assembly: DevExpress.WinUI.DocumentViewer.v23.2.dll

NuGet Package: DevExpress.WinUI

Declaration

[DP(true, Handler = "OnShowCommandBarChanged")]
public bool ShowCommandBar { get; set; }

Property Value

Type Description
Boolean

true to display a DocumentViewer‘s command bar; otherwise, false.

Remarks

If the ShowCommandBar property is set to false, the command bar is hidden. You can use DocumentViewerCommands to access the DocumentViewer‘s commands.

For more information on how to customize the DocumentViewer toolbar, review the following topic: Customize the Document Viewer Toolbar in the WinUI Application.

See Also