DetailsViewRow.RowState Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the state of the DetailsViewRow object.
public:
virtual property System::Web::UI::WebControls::DataControlRowState RowState { System::Web::UI::WebControls::DataControlRowState get(); };
public virtual System.Web.UI.WebControls.DataControlRowState RowState { get; }
member this.RowState : System.Web.UI.WebControls.DataControlRowState
Public Overridable ReadOnly Property RowState As DataControlRowState
Property Value
A bitwise combination of the DataControlRowState enumeration values.
Remarks
Use the RowState property to determine the state of the row. The state can be a bitwise combination of the values in the following table.
State value | Description |
---|---|
DataControlRowState.Alternate |
The DetailsViewRow object is an alternate row in the DetailsView control. |
DataControlRowState.Edit |
The DetailsViewRow object is in edit mode. |
DataControlRowState.Insert |
The DetailsViewRow object is in insert mode. |
DataControlRowState.Normal |
The DetailsViewRow object is in its normal (default) state. |
This property is commonly used to determine the state of a row before performing an operation.
Applies to
See also
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.