Items Content(TVisual, Int32) View<TVisual>.Setup
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
- TVisual TVisual
The visual content to setup.
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.