Visual Basic (Declaration) | |
---|---|
<CategoryAttribute("Layout")> <BrowsableAttribute(False)> <DefaultValueAttribute()> <DescriptionAttribute("The absolute top position of the control in the browser")> Public Property Top As Unit |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As LiveImageButton Dim value As Unit instance.Top = value value = instance.Top |
C# | |
---|---|
[CategoryAttribute("Layout")] [BrowsableAttribute(false)] [DefaultValueAttribute()] [DescriptionAttribute("The absolute top position of the control in the browser")] public Unit Top {get; set;} |
C++/CLI | |
---|---|
[CategoryAttribute("Layout")] [BrowsableAttribute(false)] [DefaultValueAttribute()] [DescriptionAttribute("The absolute top position of the control in the browser")] public: property Unit Top { Unit get(); void set ( Unit value); } |
Property Value
A Unit that represents the top position of the control. The default is Unit.Empty.Use the Top property to specify the top position of the PowerWEB control. If both Left and Top are Unit.Empty (the default), relative positioning is used. If either Left or Top are not Unit.Empty, absolute positioning is used.
Target Platforms: Microsoft .NET Framework 2.0