ItemContainerPrepared Method
Notifies the ItemsControl that a container has been fully prepared to display an item.
Definition
Namespace: Avalonia.Controls.Generators
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
 - VB
 - F#
 
public void ItemContainerPrepared(
	Control container,
	Object? item,
	int index
)
Public Sub ItemContainerPrepared ( 
	container As Control,
	item As Object,
	index As Integer
)
member ItemContainerPrepared : 
        container : Control * 
        item : Object * 
        index : int -> unit 
Parameters
- Control
 - The container control.
 - Object
 - The item being displayed.
 - Int32
 - The index of the item being displayed.
 
Remarks
This method must be called when a container has been fully prepared and added to the logical and visual trees, but may be called before a layout pass has completed. It must be called regardless of the result of NeedsContainer(Object, Int32, Object) but if that method returned false then must be called only a single time.
See Also
Reference
ItemContainerGenerator Class
Avalonia.Controls.Generators Namespace