LayoutControl.BindingContext Property
In This Article
Gets or sets the BindingContext for the control.
Namespace: DevExpress.XtraLayout
Assembly: DevExpress.XtraLayout.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
public override BindingContext BindingContext { get; set; }
#Property Value
Type | Description |
---|---|
Binding |
A Binding |
#Remarks
Reading the BindingContext property returns the BindingContext object currently used by the LayoutControl for binding.
If the LayoutControl.UseLocalBindingContext property is set to true, the LayoutControl uses its own BindingContext. If the property is set to false, the LayoutControl uses the form’s BindingContext.
Note: Setting the BindingContext property always modifies the form’s BindingContext.
See Also