Back to Devexpress

LayoutControl.UseLocalBindingContext Property

windowsforms-devexpress-dot-xtralayout-dot-layoutcontrol-f80256a7.md

latest1.5 KB
Original Source

LayoutControl.UseLocalBindingContext Property

Gets or sets whether controls within the current LayoutControl use the local BindingContext, or the form’s BindingContext.

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
public bool UseLocalBindingContext { get; set; }
vb
<Browsable(False)>
Public Property UseLocalBindingContext As Boolean

Property Value

TypeDescription
Boolean

true if controls use the LayoutControl’s BindingContext; false if controls use the form’s BindingContext.

|

Remarks

To get the currently used BindingContext, use the LayoutControl.BindingContext property.

See Also

BindingContext

LayoutControl Class

LayoutControl Members

DevExpress.XtraLayout Namespace