WindowsUIView.QueryDocumentActions Event

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

public event QueryDocumentActionsEventHandler QueryDocumentActions
Public Event QueryDocumentActions As QueryDocumentActionsEventHandler

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