ParentControlDesigner.GetParentForComponent(IComponent) Method
Definition
Important
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.
Used by deriving classes to determine if it returns the control being designed or some other Container while adding a component to it.
protected:
virtual System::Windows::Forms::Control ^ GetParentForComponent(System::ComponentModel::IComponent ^ component);
protected virtual System.Windows.Forms.Control GetParentForComponent (System.ComponentModel.IComponent component);
abstract member GetParentForComponent : System.ComponentModel.IComponent -> System.Windows.Forms.Control
override this.GetParentForComponent : System.ComponentModel.IComponent -> System.Windows.Forms.Control
Protected Overridable Function GetParentForComponent (component As IComponent) As Control
Parameters
- component
- IComponent
The component for which to retrieve the parent Control.
Returns
The parent Control for the component.
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.