Table of Contents

Class ChildIndexChangedEventArgs

Namespace
Avalonia.LogicalTree
Assembly
Avalonia.Base.dll

Event args for ChildIndexChanged event.

public class ChildIndexChangedEventArgs : EventArgs
Inheritance
ChildIndexChangedEventArgs
Inherited Members

Constructors

ChildIndexChangedEventArgs(ILogical, int)

Initializes a new instance of the ChildIndexChangedEventArgs class with an action of ChildIndexChanged.

public ChildIndexChangedEventArgs(ILogical child, int index)

Parameters

child ILogical

The child whose index was changed.

index int

The new index of the child.

Properties

Action

Gets the type of change action that ocurred on the list control.

public ChildIndexChangedAction Action { get; }

Property Value

ChildIndexChangedAction

Child

Gets the logical child whose index was changed or null if all children should be re-evaluated.

public ILogical? Child { get; }

Property Value

ILogical

ChildIndexesReset

Gets an instance of the ChildIndexChangedEventArgs with an action of ChildIndexesReset.

public static ChildIndexChangedEventArgs ChildIndexesReset { get; }

Property Value

ChildIndexChangedEventArgs

Index

Gets the new index of Child or -1 if all children should be re-evaluated.

public int Index { get; }

Property Value

int

TotalCountChanged

Gets an instance of the ChildIndexChangedEventArgs with an action of TotalCountChanged.

public static ChildIndexChangedEventArgs TotalCountChanged { get; }

Property Value

ChildIndexChangedEventArgs