編輯

共用方式為


Control.ParentChanged Event

Definition

Occurs when the Parent property value changes.

public:
 event EventHandler ^ ParentChanged;
public event EventHandler ParentChanged;
public event EventHandler? ParentChanged;
member this.ParentChanged : EventHandler 
Public Custom Event ParentChanged As EventHandler 

Event Type

Remarks

This event is raised if the Parent property is changed by either a programmatic modification or user interaction.

For more information about handling events, see Handling and Raising Events.

Applies to

See also