View<TVisual>.Setup Content(TVisual, Int32) Method
Performs any additional setup for the content at creation time.
protected virtual void SetupContent (TVisual content, int index);
abstract member SetupContent : 'Visual * int -> unit override this.SetupContent : 'Visual * int -> unit
The visual content to setup.
The index of the content.
This method is called when the ItemsView<TVisual> is creating visuals for user items. At this point, the BindingContext will have been set. You can override this method to perform additional setup for content specific to your ItemsView<TVisual> subclass. ListView, for example, uses this method to set Parent to itself.