Прочитај на енглеском Уреди

Делите путем


ControlDesigner.OnComponentChanging Method

Definition

Represents the method that will handle the ComponentChanging event for the associated control.

C#
public virtual void OnComponentChanging(object sender, System.ComponentModel.Design.ComponentChangingEventArgs ce);

Parameters

sender
Object

The object that is the source of the event.

ce
ComponentChangingEventArgs

A ComponentChangedEventArgs object that contains the event data.

Remarks

When either the InvokeTransactedChange or Localize method is called, the ComponentChanging event occurs before any changes are made to the associated control. After the changes are complete, the OnComponentChanged method occurs.

Applies to

Производ Верзије
.NET Framework 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