Sdílet prostřednictvím


ListView.ItemDisappearing Event

Definition

Occurs when the visual representation of an item is being removed from the visual layout.

public event EventHandler<Xamarin.Forms.ItemVisibilityEventArgs> ItemDisappearing;
member this.ItemDisappearing : EventHandler<Xamarin.Forms.ItemVisibilityEventArgs> 

Event Type

System.EventHandler<ItemVisibilityEventArgs>

Remarks

This method is for virtualization usage only. It is not guaranteed to fire for all visible items when the List is removed from the screen. Additionally it fires during virtualization, which may not correspond directly with removal from the screen depending on the platform virtualization technique used.

Applies to