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