windowsforms-devexpress-dot-xtragrid-dot-gridcontrol-a8a239bf.md
Gets or sets the BindingContext for the control.
Namespace : DevExpress.XtraGrid
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
public override BindingContext BindingContext { get; }
Public Overrides ReadOnly Property BindingContext As BindingContext
| Type | Description |
|---|---|
| BindingContext |
A BindingContext for the control.
|
This method overrides the BindingContext property to perform specific design-time customizations. See this property’s description in MSDN to learn more.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the BindingContext 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.
{
_GridControl.BindingContext = new BindingContext();
}
If showSolution Then
_GridControl.BindingContext = New BindingContext()
End If
See Also