Summary
Tries to get the container that was the source of an event.
- Namespace
- Avalonia
.Controls .Primitives - Containing Type
- Selecting
Items Control
Syntax
protected IControl? GetContainerFromEventSource(IInteractive? eventSource)
Parameters
Name | Type | Description |
---|---|---|
eventSource | IInteractive? | The control that raised the event. |
Return Value
Type | Description |
---|---|
IControl? | The container or null if the event did not originate in a container. |