Skip to main content

LayoutControl.BindingContext Property

Gets or sets the BindingContext for the control.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public override BindingContext BindingContext { get; set; }

Property Value

Type Description
BindingContext

A BindingContext for the control.

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