DataListDesigner.Initialize Method (IComponent)

 
System_CAPS_noteNote

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

Initializes the designer with the specified component.

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

public override void Initialize(
	IComponent component
)

Parameters

component
Type: System.ComponentModel.IComponent

The control element being designed.

The following code example shows how to override the Initialize method to ensure that the designer is initialized only with instances of the SimpleDataList class.

This code example is part of a larger example provided for the DataListDesigner class.

public override void Initialize(IComponent component)
{
    simpleGView = (SimpleGridView)component;
    base.Initialize(component);
}

.NET Framework
Available since 1.1
Return to top
Show: