System.Web.UI.WebControls.DetailsViewModeEventArgs.NewMode Property

Gets or sets the mode to which the System.Web.UI.WebControls.DetailsView control is changing.

Syntax

public DetailsViewMode NewMode { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the DetailsViewModeEventArgs.NewMode property to determine the mode to which the System.Web.UI.WebControls.DetailsView control is changing. For example, you might want to configure the System.Web.UI.WebControls.DetailsView control based on the mode to which it changes. You can also use this property to specify the mode to which the System.Web.UI.WebControls.DetailsView control changes by setting it to one of the System.Web.UI.WebControls.DetailsViewMode enumeration values.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0