Control.ParentChanged 事件

定義

發生在 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.

適用於

另請參閱