OnComponentChanged Method

BaseDataListDesigner.OnComponentChanged Method (Object, ComponentChangedEventArgs)

 

Called when there is a change to the associated control.

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

public override void OnComponentChanged(
	object sender,
	ComponentChangedEventArgs e
)

Parameters

sender
Type: System.Object

The Object that is the source of the event.

e
Type: System.ComponentModel.Design.ComponentChangedEventArgs

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.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft