Collapse the table of content
Expand the table of content
Expand Minimize

DataGrid.OnCanExecuteDelete Method (CanExecuteRoutedEventArgs)

.NET Framework 4.6 and 4.5

Provides handling for the CanExecute event associated with the DeleteCommand command.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

Protected Overridable Sub OnCanExecuteDelete (
	e As CanExecuteRoutedEventArgs


Type: System.Windows.Input.CanExecuteRoutedEventArgs

The data for the event.

.NET Framework
Available since 4.0
Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft