GetContainerFromEventSource 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)
- C#
- VB
- F#
protected Control? GetContainerFromEventSource(
Object? eventSource
)
Protected Function GetContainerFromEventSource (
eventSource As Object
) As Control
member GetContainerFromEventSource :
eventSource : Object -> Control
Parameters
- 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
Reference
SelectingItemsControl Class
Avalonia.Controls.Primitives Namespace