Skip to main content
A newer version of this page is available. .

WindowsUIView.QueryDocumentActions Event

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v18.2.dll

Declaration

public event QueryDocumentActionsEventHandler QueryDocumentActions

Event Data

The QueryDocumentActions event's data class is DevExpress.XtraBars.Docking2010.Views.WindowsUI.QueryDocumentActionsEventArgs.

Remarks

The QueryDocumentActions event occurs each time a Document within the WindowsUIView is activated. You can handle this event and add a required DocumentAction or DocumentCheckAction object to the Content Container’s header, depending on which Document is activated. If a User Control, which is the activated Document’s content, implements the ISupportDocumentActions interface, the ISupportDocumentActions.OnQueryDocumentActions method follows the QueryDocumentActions event.

See the How To: Create Custom Document Actions topic to learn more.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the QueryDocumentActions event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also