ListView.LayoutCreated 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在 LayoutTemplate 控件中创建 ListView 模板时发生。
public:
event EventHandler ^ LayoutCreated;
public event EventHandler LayoutCreated;
member this.LayoutCreated : EventHandler
Public Custom Event LayoutCreated As EventHandler
事件类型
注解
ListView在呈现控件之前,LayoutTemplate必须创建模板才能充当控件的根容器。 LayoutCreated创建控件中的ListView布局模板时,将引发该事件。 这样,便可以在发生此事件时执行自定义例程。
有关如何处理事件的详细信息,请参阅 处理和引发事件。