DataControlFieldCell::ContainingField Property

 

Gets the DataControlField object that contains the current cell.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public:
property DataControlField^ ContainingField {
	DataControlField^ get();
}

Property Value

Type: System.Web.UI.WebControls::DataControlField^

A DataControlField that contains the current cell, or null, if no DataControlField is passed to the class constructor.

The content rendering for the DataControlFieldCell object might be affected by the various DataControlField properties of the containing field, such as ItemStyle, ControlStyle, and ShowHeader.

.NET Framework
Available since 2.0
Return to top
Show: