Skip to main content

ChildIndexChangedEventArgs Class

Definition​

Assembly:Avalonia.Base
Package:Avalonia
public class ChildIndexChangedEventArgs

Inheritance: EventArgs -> ChildIndexChangedEventArgs

Constructors​

ChildIndexChangedEventArgs Constructor​

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

public ChildIndexChangedEventArgs(Avalonia.LogicalTree.ILogical child, int index)

Parameters​

child Avalonia.LogicalTree.ILogical

The child whose index was changed.

index int

The new index of the child.

Properties​

NameDescription
ActionGets the type of change action that ocurred on the list control.
ChildGets the logical child whose index was changed or null if all children should be re-evaluated.
ChildIndexesResetGets an instance of the Avalonia.LogicalTree.ChildIndexChangedEventArgs with an action of Avalonia.LogicalTree.ChildIndexChangedAction.ChildIndexesReset.
IndexGets the new index of Avalonia.LogicalTree.ChildIndexChangedEventArgs.Child or -1 if all children should be re-evaluated.
TotalCountChangedGets an instance of the Avalonia.LogicalTree.ChildIndexChangedEventArgs with an action of Avalonia.LogicalTree.ChildIndexChangedAction.TotalCountChanged.

Action Property​

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

public Avalonia.LogicalTree.ChildIndexChangedAction Action { get; set; }

Child Property​

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

public Avalonia.LogicalTree.ILogical Child { get; set; }

ChildIndexesReset Property​

Gets an instance of the Avalonia.LogicalTree.ChildIndexChangedEventArgs with an action of Avalonia.LogicalTree.ChildIndexChangedAction.ChildIndexesReset.

public Avalonia.LogicalTree.ChildIndexChangedEventArgs ChildIndexesReset { get; set; }

Index Property​

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

public int Index { get; set; }

TotalCountChanged Property​

Gets an instance of the Avalonia.LogicalTree.ChildIndexChangedEventArgs with an action of Avalonia.LogicalTree.ChildIndexChangedAction.TotalCountChanged.

public Avalonia.LogicalTree.ChildIndexChangedEventArgs TotalCountChanged { get; set; }