Back to Devexpress

LayoutControl.BindingContext Property

windowsforms-devexpress-dot-xtralayout-dot-layoutcontrol-969b073f.md

latest1.9 KB
Original Source

LayoutControl.BindingContext Property

Gets or sets the BindingContext for the control.

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDescription
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

UseLocalBindingContext

LayoutControl Class

LayoutControl Members

DevExpress.XtraLayout Namespace