ListView.CreateLayoutTemplate 方法
定义
protected:
virtual void CreateLayoutTemplate();
protected virtual void CreateLayoutTemplate ();
abstract member CreateLayoutTemplate : unit -> unit
override this.CreateLayoutTemplate : unit -> unit
Protected Overridable Sub CreateLayoutTemplate ()
注解
CreateLayoutTemplate方法是一个帮助器方法,用于在控件中创建根容器 ListView 。The 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.