Table of Contents

Class ContainerIndexChangedEventArgs

Namespace
Avalonia.Controls
Assembly
Avalonia.Controls.dll

Provides data for the ContainerIndexChanged event.

public class ContainerIndexChangedEventArgs : EventArgs
Inheritance
ContainerIndexChangedEventArgs
Inherited Members

Constructors

ContainerIndexChangedEventArgs(Control, int, int)

public ContainerIndexChangedEventArgs(Control container, int oldIndex, int newIndex)

Parameters

container Control
oldIndex int
newIndex int

Properties

Container

Get the container for which the index changed.

public Control Container { get; }

Property Value

Control

NewIndex

Gets the index of the container after the change.

public int NewIndex { get; }

Property Value

int

OldIndex

Gets the index of the container before the change.

public int OldIndex { get; }

Property Value

int