This documentation is archived and is not being maintained.

BaseDataListDesigner.OnComponentChanged Method

Called when there is a change to the associated control.

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

public override void OnComponentChanged (
	Object sender,
	ComponentChangedEventArgs e
public void OnComponentChanged (
	Object sender, 
	ComponentChangedEventArgs e
public override function OnComponentChanged (
	sender : Object, 
	e : ComponentChangedEventArgs
Not applicable.



The Object that is the source of the event.


A ComponentChangedEventArgs that contains the event data.

The OnComponentChanged method is called when the ComponentChanged event of a control that is derived from the BaseDataList class executes. Typically, this is in response to a property change on the control (for example, a Properties grid change). If the DataSource object to which the control is bound is changed, the control is redrawn on the design surface.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0