PowerWEB LiveControls for ASP.NET
Top Property
See Also  Send comments on this topic.
Dart.LiveControls Namespace > LiveImageButton Class : Top Property



Gets or sets the top position of the PowerWEB control.

Syntax

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.

Remarks

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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.0.2
© 2012 Dart Communications. All Rights Reserved.