ListView.SetupContent(Cell, Int32) ListView.SetupContent(Cell, Int32) Method

Definition

Application developers override this method to register event handlers for list view items.

protected override void SetupContent (Xamarin.Forms.Cell content, int index);
override this.SetupContent : Xamarin.Forms.Cell * int -> unit

Parameters

content
Cell Cell

The cell to set up.

index
Int32 Int32

The index of the cell in the list of items.

Remarks

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

Application developers who override this method to allocate resources must override UnhookContent(Cell) in order to deallocate them.

Applies to