ItemsControlNeedsContainerT Method
Namespace: Avalonia.ControlsAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
protected bool NeedsContainer<T>(
Object? item,
out Object?? recycleKey
)
where T : Control
Protected Function NeedsContainer(Of T As Control) (
item As Object,
<OutAttribute> ByRef recycleKey As Object
) As Boolean
member NeedsContainer :
item : Object *
recycleKey : Object byref -> bool when 'T : Control
- item Object
- The item.
- recycleKey Object
-
When the method returns, contains DefaultRecycleKey if
item is not of type T; otherwise null.
- T
- The container type.
Boolean
true if
item is of type
T; otherwise false.