ImageMan.Net Version 3 Summer 2012 Release
TopLevelControl Property
See Also  Send Feedback
DTI.ImageMan.Winforms Namespace > Viewer Class : TopLevelControl Property





Glossary Item Box

Syntax

Visual Basic (Declaration) 
<SRCategoryAttribute("Behavior")>
<System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<SRDescriptionAttribute("Retrieves the top-level control that contains this control.")>
<System.ComponentModel.BrowsableAttribute(False)>
<System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Public ReadOnly Property TopLevelControl As System.Windows.Forms.Control
Visual Basic (Usage)Copy Code
Dim instance As Viewer
Dim value As System.Windows.Forms.Control
 
value = instance.TopLevelControl
C# 
[SRCategoryAttribute("Behavior")]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
[SRDescriptionAttribute("Retrieves the top-level control that contains this control.")]
[System.ComponentModel.BrowsableAttribute(false)]
[System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public System.Windows.Forms.Control TopLevelControl {get;}
JScript 
SRCategoryAttribute("Behavior")
System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)
SRDescriptionAttribute("Retrieves the top-level control that contains this control.")
System.ComponentModel.BrowsableAttribute()
System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)
public function get TopLevelControl : System.Windows.Forms.Control
Managed Extensions for C++ 
[SRCategoryAttribute("Behavior")]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
[SRDescriptionAttribute("Retrieves the top-level control that contains this control.")]
[System.ComponentModel.BrowsableAttribute(false)]
[System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public: __property System.Windows.Forms.Control* get_TopLevelControl();
C++/CLI 
[SRCategoryAttribute("Behavior")]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
[SRDescriptionAttribute("Retrieves the top-level control that contains this control.")]
[System.ComponentModel.BrowsableAttribute(false)]
[System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public:
property System.Windows.Forms.Control^ TopLevelControl {
   System.Windows.Forms.Control^ get();
}

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.