Skip to content

This example associates the DockControllerCommand.Close command with a button.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/wpf-docklayoutmanager-associate-a-command-with-a-button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WPF Dock Layout Manager - Associate a DockLayoutManager's Command with a Button

The DockLayoutManager includes the DockControllerCommand, which contains the following set of dock panel commands:

Command Description
Activate Activates a specific dock item.
Close Closes a specific dock item.
Dock Docks a floating or an auto-hidden dock item.
Float Makes the specified item floating.
Hide Enables the auto-hide functionality for the item/panel and hides it at a corresponding edge of the DockLayoutManager container.
Restore Restores a closed (hidden) panel at its previous dock position.

This example associates the DockControllerCommand.Close command with a button. When a user clicks the button, the active dock panel is closed.

image

Files to Look At:

Documentation

More Examples

Does this example address your development requirements/objectives?

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

About

This example associates the DockControllerCommand.Close command with a button.

Topics

Resources

License

Stars

Watchers

Forks