Bewerken

Delen via


BaseDataListDesigner.OnComponentChanged Method

Definition

Called when there is a change to the associated control.

public:
 override void OnComponentChanged(System::Object ^ sender, System::ComponentModel::Design::ComponentChangedEventArgs ^ e);
public override void OnComponentChanged (object sender, System.ComponentModel.Design.ComponentChangedEventArgs e);
override this.OnComponentChanged : obj * System.ComponentModel.Design.ComponentChangedEventArgs -> unit
Public Overrides Sub OnComponentChanged (sender As Object, e As ComponentChangedEventArgs)

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

See also