DataControlBase.DeleteKeyBehavior Property
Gets or sets the action executed when a user presses the Delete key. This is a dependency property.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v24.1.Core.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
Property Value
Type | Default | Description |
---|---|---|
DeleteKeyBehavior | None | The action executed when a user presses the Delete key. |
Available values:
Name | Description |
---|---|
None | No action. |
DeleteSelectedRows | Executes the DeleteSelectedRows command. |
DeleteFocusedRow | Executes the DeleteFocusedRow command. |
Remarks
You can switch between two Delete key modes:
- Delete the focused row (for single selection mode).
- Delete selected rows (for multiple selection mode).
Refer to the following help topic for more information: Add and Remove Rows.
See Also