ContainerIndexChangedEventArgs Class
Definition
Provides data for the Avalonia.Controls.ItemsControl.ContainerIndexChanged event.
public class ContainerIndexChangedEventArgs
Constructors
| Name | Description |
|---|---|
| ContainerIndexChangedEventArgs | No summary available. |
ContainerIndexChangedEventArgs Constructor
public ContainerIndexChangedEventArgs(Avalonia.Controls.Control container, int oldIndex, int newIndex)
Parameters
container Avalonia.Controls.Control
oldIndex int
newIndex int
Properties
| Name | Description |
|---|---|
| Container | Get the container for which the index changed. |
| NewIndex | Gets the index of the container after the change. |
| OldIndex | Gets the index of the container before the change. |
Container Property
Get the container for which the index changed.
public Avalonia.Controls.Control Container { get; set; }
NewIndex Property
Gets the index of the container after the change.
public int NewIndex { get; set; }
OldIndex Property
Gets the index of the container before the change.
public int OldIndex { get; set; }