LabelDesigner.OnComponentChanged(Object, ComponentChangedEventArgs) Method

Definition

Called when there is a change to the associated control.

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

Parameters

sender
Object

The object that is the source of the event.

ce
ComponentChangedEventArgs

A ComponentChangedEventArgs that contains the event data.

Remarks

The OnComponentChanged method is called when the ComponentChanged event of the associated Label control is raised. Typically, this is in response to a property change on the control (for example, a Properties grid change).

The OnComponentChanged creates a ComponentChangedEventArgs object and calls the OnComponentChanged base method.

Applies to

See also