windowsforms-devexpress-dot-xtraeditors-dot-navigatorbuttonclickeventargs-ef623043.md
Gets or sets whether you have handled this event and no default action is required.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public bool Handled { get; set; }
Public Property Handled As Boolean
| Type | Description |
|---|---|
| Boolean |
true to prohibit the button’s default action; false to perform the button’s default action after your event handler is executed.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the Handled 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.
winforms-grid-data-navigator-custom-button/CS/CustomButton/Form1.cs#L35
MessageBox.Show("Selected data has been copied to the Clipboard");
e.Handled = true;
}
winforms-grid-linq-to-sql-master-detail/CS/LinqWithEditing/Form1.cs#L49
}
e.Handled = true;
}
winforms-grid-sql-pagination/CS/DxSample/MainForm.cs#L48
if (e.Button.ButtonType != NavigatorButtonType.Custom) return;
e.Handled = true;
int offset = (int)DataAdapter.SelectCommand.Parameters["@offset"].Value;
((XPBaseObject)((GridView)gridControl1.FocusedView).GetFocusedRow()).Delete();
e.Handled = true;
}
CType(CType(gridControl1.FocusedView, GridView).GetFocusedRow(), XPBaseObject).Delete()
e.Handled = True
End If
winforms-grid-data-navigator-custom-button/VB/CustomButton/Form1.vb#L34
MessageBox.Show("Selected data has been copied to the Clipboard")
e.Handled = True
End If
winforms-grid-linq-to-sql-master-detail/VB/LinqWithEditing/Form1.vb#L49
End If
e.Handled = True
End If
winforms-grid-sql-pagination/VB/DxSample/MainForm.vb#L56
End If
e.Handled = True
Dim offset As Integer = DirectCast(DataAdapter.SelectCommand.Parameters("@offset").Value, Integer)
See Also
NavigatorButtonClickEventArgs Class