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.

適用於

另請參閱