Share via


ListView.UnhookContent(Cell) Method

Definition

Application developers override this method to unregister event handlers for list view items that they registered in SetupContent(Cell, Int32).

protected override void UnhookContent(Xamarin.Forms.Cell content);
override this.UnhookContent : Xamarin.Forms.Cell -> unit

Parameters

content
Cell

The cell to unhook.

Remarks

Application developers must call UnhookContent(Cell) before performing any other action when overriding this method.

<block type="note">Application developers who override SetupContent(Cell, Int32) to allocate resources must override this method in order to deallocate them.</block>

Applies to