ItemFromContainer Method
Returns the item that corresponds to the specified, generated container.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public Object? ItemFromContainer(
Control container
)
Public Function ItemFromContainer (
container As Control
) As Object
member ItemFromContainer :
container : Control -> Object
Parameters
- Control
- The control that corresponds to the item to be returned.
Return Value
Object
The contained item, or the container if it does not contain an item.