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
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre