ListView.EnsureLayoutTemplate Method


Ensures that the LayoutTemplate content is correctly created in the ListView control.

 virtual void EnsureLayoutTemplate();
protected virtual void EnsureLayoutTemplate ();
abstract member EnsureLayoutTemplate : unit -> unit
override this.EnsureLayoutTemplate : unit -> unit
Protected Overridable Sub EnsureLayoutTemplate ()


The EnsureLayoutTemplate method is a helper method that is called by the ListView control to make sure that the LayoutTemplate content is added to the control only one time.

Applies to

See also