Summary
Gets the index of the specified container control.
- Namespace
- Avalonia
.Controls .Generators - Containing Type
- Item
Container Generator
Syntax
public 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. |