GridViewDesigner.Initialize Method (IComponent)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Prepares the designer to view, edit, and design the associated control.

Namespace:   System.Web.UI.Design.WebControls
Assembly:  System.Design (in System.Design.dll)

public override void Initialize(
	IComponent component


Type: System.ComponentModel.IComponent

A GridView, which implements an IComponent.

The designer host calls the Initialize method when it is ready to use the designer to render the GridView control. The Initialize and its base methods configure properties and set up events that are necessary for the operation of the designer.

The component parameter is the GridView control that is associated with this designer, or a copy of the GridView control.

.NET Framework
Available since 2.0
Return to top