Visual Basic (Declaration) | |
---|---|
<BrowsableAttribute(False)> <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> <SRDescriptionAttribute("The parent of this control.")> <SRCategoryAttribute("Behavior")> Public Property Parent As Control |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Medical3DControl Dim value As Control instance.Parent = value value = instance.Parent |
C# | |
---|---|
[BrowsableAttribute(false)] [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)] [SRDescriptionAttribute("The parent of this control.")] [SRCategoryAttribute("Behavior")] public Control Parent {get; set;} |
C++/CLI | |
---|---|
[BrowsableAttribute(false)] [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)] [SRDescriptionAttribute("The parent of this control.")] [SRCategoryAttribute("Behavior")] public: property Control^ Parent { Control^ get(); void set ( Control^ value); } |
Property Value
A System.Windows.Forms.Control that represents the parent or container control of the control.Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7