LayoutControl.BindingContext Property

Gets or sets the BindingContext for the control.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.1.dll

Declaration

public override BindingContext BindingContext { get; set; }
Public Overrides Property BindingContext As BindingContext

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