using System; namespace Avalonia.Controls { /// /// Provides data for the event. /// public class ContainerIndexChangedEventArgs : EventArgs { public ContainerIndexChangedEventArgs(Control container, int oldIndex, int newIndex) { Container = container; OldIndex = oldIndex; NewIndex = newIndex; } /// /// Get the container for which the index changed. /// public Control Container { get; } /// /// Gets the index of the container after the change. /// public int NewIndex { get; } /// /// Gets the index of the container before the change. /// public int OldIndex { get; } } }