Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.Panels Namespace / AnimationPanel Class / ChildExiting Event


In This Topic
    ChildExiting Event
    In This Topic
    Occurs when a child is about to be removed from the panel. Set the ExitTo property if you would like an "animate out" effect where the child is animated from the ArrangeRect to the ExitTo Rect. Set the Cancel property to true to prevent the exit operation entirely.
    Syntax
    'Declaration
     
    Public Event ChildExiting As ChildExitingEventHandler
    'Usage
     
    Dim instance As AnimationPanel
    Dim handler As ChildExitingEventHandler
     
    AddHandler instance.ChildExiting, handler
    public event ChildExitingEventHandler ChildExiting
    Event Data

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

    PropertyDescription
    Gets the current arrange rect for the child  
    Gets the child who is exiting  
    Gets the rectangle to exit to  
    (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