ListView.CreateLayoutTemplate 方法

定义

ListView 控件中创建根容器。Creates the root container in the ListView control.

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

注解

CreateLayoutTemplate方法是一个帮助器方法,用于在控件中创建根容器 ListViewThe CreateLayoutTemplate method is a helper method that is used to create the root container in the ListView control. 容器的内容由 LayoutTemplate 属性定义。The contents of the container are defined by the LayoutTemplate property.

备注

此方法主要由控件开发人员用来扩展 ListView 控件。This method is primarily used by control developers to extend the ListView control.

适用于

另请参阅