Summary
Gets the index of the specified container control.
- Namespace
- Avalonia
.Controls .Generators - Containing Type
- I
Item Container Generator
Syntax
int IndexFromContainer(IControl container)
Parameters
Name | Type | Description |
---|---|---|
container | IControl | The container. |
Return Value
Type | Description |
---|---|
int | The index of the container, or -1 if not found. |