wpf-devexpress-dot-xpf-dot-grid-dot-dialogeditformbehavior-a8640cf6.md
Deletes selected rows from the control.
Namespace : DevExpress.Xpf.Grid
Assembly : DevExpress.Xpf.Grid.v25.2.Extensions.dll
NuGet Package : DevExpress.Wpf.Grid.Core
public ICommand DeleteCommand { get; }
Public ReadOnly Property DeleteCommand As ICommand
| Type | Description |
|---|---|
| ICommand |
A routed command that implements the ICommand.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DeleteCommand 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.
Glyph="{dx:DXImage SvgImages/Icon Builder/Actions_Add.svg}" BarItemDisplayMode="ContentAndGlyph" />
<dxb:BarButtonItem Content="Delete (Del)" Command="{Binding DeleteCommand, ElementName=EditFormBehavior}"
Glyph="{dx:DXImage SvgImages/Icon Builder/Actions_Delete.svg}" BarItemDisplayMode="ContentAndGlyph" />
See Also