Control.ParentChanged Control.ParentChanged Control.ParentChanged Control.ParentChanged Event

定义

Parent 属性值更改时发生。Occurs when the Parent property value changes.

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

注解

如果引发此事件Parent属性更改通过以编程方式修改或用户交互。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.

适用于

另请参阅