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
Properties
Action
Gets the type of change action that ocurred on the list control.
public ChildIndexChangedAction Action { get; }
Property Value
Child
Gets the logical child whose index was changed or null if all children should be re-evaluated.
public ILogical? Child { get; }
Property Value
ChildIndexesReset
Gets an instance of the ChildIndexChangedEventArgs with an action of ChildIndexesReset.
public static ChildIndexChangedEventArgs ChildIndexesReset { get; }
Property Value
Index
Gets the new index of Child or -1 if all children should be re-evaluated.
public int Index { get; }
Property Value
TotalCountChanged
Gets an instance of the ChildIndexChangedEventArgs with an action of TotalCountChanged.
public static ChildIndexChangedEventArgs TotalCountChanged { get; }