IndexFromContainer Method
Returns the index to the item that has the specified realized container.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
protected abstract int IndexFromContainer(
Control container
)
Protected MustOverride Function IndexFromContainer (
container As Control
) As Integer
abstract IndexFromContainer :
container : Control -> int
Parameters
- Control
- The generated container to retrieve the item index for.
Return Value
Int32
The index to the item that corresponds to the specified realized container, or -1 if container is not found.