windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-documenteventargs.md
Points to the document related to the current event.
Namespace : DevExpress.XtraBars.Docking2010.Views
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public BaseDocument Document { get; }
Public ReadOnly Property Document As BaseDocument
| Type | Description |
|---|---|
| BaseDocument |
A BaseDocument related to the current event.
|
See the Deferred Load topic to learn more.
The following code snippets (auto-collected from DevExpress Examples) contain references to the Document property.
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.
winforms-create-custom-document-manager/CS/CustomDocument/Main.cs#L23
if (e.Document == xtraUserControl3Document)
e.Control = new CustomDocumentApplication.XtraUserControl3();
winforms-document-manager-web-browser-ui/CS/Form1.cs#L33
wb.TitleChanged += wb_TitleChanged;
docs.Add(e.Document);
e.Control = wb;
winforms-create-custom-document-manager/VB/CustomDocument/Main.vb#L25
If e.Document Is xtraUserControl3Document Then
e.Control = New CustomDocumentApplication.XtraUserControl3()
winforms-document-manager-web-browser-ui/VB/Form1.vb#L26
AddHandler wb.TitleChanged, AddressOf wb_TitleChanged
docs.Add(e.Document)
e.Control = wb
See Also