Editar

Partilhar via


DetailsView.IDataBoundItemControl.Mode Property

Definition

For a description of this property, see Mode.

property System::Web::UI::WebControls::DataBoundControlMode System::Web::UI::WebControls::IDataBoundItemControl::Mode { System::Web::UI::WebControls::DataBoundControlMode get(); };
System.Web.UI.WebControls.DataBoundControlMode System.Web.UI.WebControls.IDataBoundItemControl.Mode { get; }
member this.System.Web.UI.WebControls.IDataBoundItemControl.Mode : System.Web.UI.WebControls.DataBoundControlMode
 ReadOnly Property Mode As DataBoundControlMode Implements IDataBoundItemControl.Mode

Property Value

The current mode of the DetailsView control.

Implements

Remarks

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

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

Applies to