windowsforms-devexpress-dot-xtragrid-dot-viewoperationeventargs.md
Gets the currently processed View.
Namespace : DevExpress.XtraGrid
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
public BaseView View { get; }
Public ReadOnly Property View As BaseView
| Type | Description |
|---|---|
| BaseView |
A BaseView class descendant that represents the currently processed View.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the View 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-grid-select-detail-rows-when-selecting-master-row/CS/Form1.cs#L46
{
new MasterDetailSelectionHelper(e.View as GridView);
}
winforms-grid-select-detail-rows-when-selecting-master-row/VB/Form1.vb#L40
Private Sub gridControl1_ViewRegistered(ByVal sender As Object, ByVal e As DevExpress.XtraGrid.ViewOperationEventArgs) Handles gridControl1.ViewRegistered
Dim TempMasterDetailSelectionHelper As MasterDetailSelectionHelper = New MasterDetailSelectionHelper(TryCast(e.View, GridView))
End Sub
See Also