ControlDesigner.OnComponentChanging Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the method that will handle the ComponentChanging event for the associated control.
public:
virtual void OnComponentChanging(System::Object ^ sender, System::ComponentModel::Design::ComponentChangingEventArgs ^ ce);
public virtual void OnComponentChanging (object sender, System.ComponentModel.Design.ComponentChangingEventArgs ce);
abstract member OnComponentChanging : obj * System.ComponentModel.Design.ComponentChangingEventArgs -> unit
override this.OnComponentChanging : obj * System.ComponentModel.Design.ComponentChangingEventArgs -> unit
Public Overridable Sub OnComponentChanging (sender As Object, ce As ComponentChangingEventArgs)
Parameters
- sender
- Object
The object that is the source of the event.
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
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for