Control Designer. On Set Parent Method
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.
Provides a way to perform additional processing when the associated control is attached to a parent control.
public: virtual void OnSetParent();
public virtual void OnSetParent ();
abstract member OnSetParent : unit -> unit override this.OnSetParent : unit -> unit
Public Overridable Sub OnSetParent ()
Notes to Inheritors
The OnSetParent() method can be overridden and implemented to perform additional processing when the designer is attached to a parent control.