aspnet-devexpress-dot-web-dot-aspxgridview-03ac5568.md
Indicates whether the ASPxGridView is in edit mode.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public bool IsEditing { get; }
Public ReadOnly Property IsEditing As Boolean
| Type | Description |
|---|---|
| Boolean |
true if the ASPxGridView is in edit mode; otherwise, false.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IsEditing property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
asp-net-web-forms-grid-hide-edit-form-editor-programmatically/CS/Solution/Default.aspx.cs#L25
private void HideEditor(ASPxGridView gv) {
if (gv.IsEditing && !gv.IsNewRowEditing) {
string value = gv.GetRowValues(gv.EditingRowVisibleIndex, "CategoryName").ToString();
asp-net-web-forms-grid-hide-edit-form-editor-programmatically/VB/Solution/Default.aspx.vb#L24
Private Sub HideEditor(ByVal gv As ASPxGridView)
If gv.IsEditing AndAlso Not gv.IsNewRowEditing Then
Dim value As String = gv.GetRowValues(gv.EditingRowVisibleIndex, "CategoryName").ToString()
See Also