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.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru