Skip to main content

WindowsUIView.QueryDocumentActions Event

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.1.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