Edit

Share via


ListView.EnsureLayoutTemplate Method

Definition

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

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

Remarks

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