Skip to content

This code example creates a custom DocumentViewer's toolbar with extra buttons.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/winui-create-a-custom-documentviewer-toolbar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reporting for WinUI - Customize the DocumentViewer Toolbar

This example creates a custom toolbar which contains the standard DocumentViewer's commands, and adds the following commands to the toolbar:

Run the application to see the following window that displays the data grid:

Customize DocumentViewer Toolbar Example - Grid

Click Show Print Preview to invoke the window that contains the DocumentViewer displaying the report with the grid's data.

Customize DocumentViewer Toolbar Example - DocumentViewer

Implementation Details

To create a DocumentViewer's custom command bar items, set the ShowCommandBar property to false and define a CommandBar in XAML.

Files to Look At

Documentation

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

About

This code example creates a custom DocumentViewer's toolbar with extra buttons.

Topics

Resources

License

Stars

Watchers

Forks

Languages