BaseDataListDesigner.OnComponentChanged Method

Definition

Called when there is a change to the associated control.

C#
public override void OnComponentChanged(object sender, System.ComponentModel.Design.ComponentChangedEventArgs e);

Parameters

sender
Object

The Object that is the source of the event.

e
ComponentChangedEventArgs

A ComponentChangedEventArgs that contains the event data.

Remarks

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.

Applies to

Продукт Версії
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also