Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / DataGridControl Class / DeletingSelectedItems Event


In This Topic
    DeletingSelectedItems Event
    In This Topic
    Raised before the delete command is executed to signal that the selected items are about to be deleted.
    Syntax
    'Declaration
     
    Public Event DeletingSelectedItems As CancelRoutedEventHandler
    'Usage
     
    Dim instance As DataGridControl
    Dim handler As CancelRoutedEventHandler
     
    AddHandler instance.DeletingSelectedItems, handler
    public event CancelRoutedEventHandler DeletingSelectedItems
    Event Data

    The event handler receives an argument of type CancelRoutedEventArgs containing data related to this event. The following CancelRoutedEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets or sets a value that allows the routed event to be canceled.  
    (Inherited from System.Windows.RoutedEventArgs)
    (Inherited from System.Windows.RoutedEventArgs)
    (Inherited from System.Windows.RoutedEventArgs)
    (Inherited from System.Windows.RoutedEventArgs)
    Requirements

    Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also