Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit Namespace / CollectionControl Class / ItemAdding Event


In This Topic
    ItemAdding Event
    In This Topic
    Raised when an item is about to be added to the CollectionControl.
    Syntax
    'Declaration
     
    Public Event ItemAdding As CollectionControl.ItemAddingRoutedEventHandler
    'Usage
     
    Dim instance As CollectionControl
    Dim handler As CollectionControl.ItemAddingRoutedEventHandler
     
    AddHandler instance.ItemAdding, handler
    Event Data

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

    PropertyDescription
    (Inherited from Xceed.Wpf.Toolkit.Core.CancelRoutedEventArgs)
    (Inherited from System.Windows.RoutedEventArgs)
    Gets the item being added.  
    (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