Share via


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 布局模板时,将引发 事件。 这样,每当发生此事件时,就可以执行自定义例程。

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

适用于

另请参阅