ListView.LayoutCreated Event

Definition

Occurs when the LayoutTemplate template is created in a ListView control.

C#
public event EventHandler LayoutCreated;

Event Type

Remarks

Before the ListView control can be rendered, the LayoutTemplate template must be created to serve as the root container for the control. The LayoutCreated event is raised when the layout template in the ListView control is created. This enables you to perform a custom routine whenever this event occurs.

For more information about how to handle events, see Handling and Raising Events.

Applies to

Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also