DetailsView::IDataBoundItemControl::Mode Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

For a description of this property, see IDataBoundItemControl::Mode.

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

property DataBoundControlMode Mode {
	virtual DataBoundControlMode get() sealed = IDataBoundItemControl::Mode::get;

Property Value

Type: System.Web.UI.WebControls::DataBoundControlMode

The current mode of the DetailsView control.

This member is an explicit interface member implementation. It can be used only when the DetailsView instance is cast to an IDataBoundControlinterface.

The DetailsView can be set to ReadOnly, Edit or Delete.

.NET Framework
Available since 4.0
Return to top