ListView.EnsureLayoutTemplate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.