Back to Devexpress

WindowsUIView.QueryDocumentActions Event

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-windowsui-dot-windowsuiview-13d7730c.md

latest3.2 KB
Original Source

WindowsUIView.QueryDocumentActions Event

Allows you to add How To: Create Custom Document Actions to Content Containers within the current WindowsUIView.

Namespace : DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public event QueryDocumentActionsEventHandler QueryDocumentActions
vb
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

OnQueryDocumentActions(IDocumentActionsArgs)

How To: Create Custom Document Actions

WindowsUIView Class

WindowsUIView Members

DevExpress.XtraBars.Docking2010.Views.WindowsUI Namespace