Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

WindowsUIView.QueryDocumentActions Event

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#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.

See Also