System.Web.UI.Control.BindingContainer Property

Gets the control that contains this control's data binding.

Syntax

[System.ComponentModel.Browsable(false)]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public Control BindingContainer { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The Control.BindingContainer property contains a reference to the System.Web.UI.Control object that contains the data-binding information for the current control.

The Control.BindingContainer property is the same as the Control.NamingContainer property, except when the control is part of a template. In that case, the Control.BindingContainer property is set to the System.Web.UI.Control that defines the template.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0