GridViewDesigner::Initialize Method (IComponent^)

 

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:
virtual void Initialize(
	IComponent^ component
) override

Parameters

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
Show: