SelectingItemsControlGetContainerFromEventSource Method

Tries to get the container that was the source of an event.

Definition

Namespace: Avalonia.Controls.Primitives
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
protected Control? GetContainerFromEventSource(
	Object? eventSource
)

Parameters

eventSource  Object
The control that raised the event.

Return Value

Control
The container or null if the event did not originate in a container.

See Also