ListView.LayoutCreated 事件

定义

LayoutTemplate 控件中创建 ListView 模板时发生。

public:
 event EventHandler ^ LayoutCreated;
public event EventHandler LayoutCreated;
member this.LayoutCreated : EventHandler 
Public Custom Event LayoutCreated As EventHandler 

事件类型

注解

ListView在呈现控件之前,LayoutTemplate必须创建模板才能充当控件的根容器。 LayoutCreated创建控件中的ListView布局模板时,将引发该事件。 这样,便可以在发生此事件时执行自定义例程。

有关如何处理事件的详细信息,请参阅 处理和引发事件

适用于

另请参阅