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



Gets or sets the top position of the PowerWEB control.

Syntax

Visual Basic (Declaration) 
<DefaultValueAttribute()>
<DescriptionAttribute("The absolute top position of the control in the browser")>
<BrowsableAttribute(False)>
<CategoryAttribute("Layout")>
Public Property Top As Unit
Visual Basic (Usage)Copy Code
Dim instance As LiveImage
Dim value As Unit
 
instance.Top = value
 
value = instance.Top
C# 
[DefaultValueAttribute()]
[DescriptionAttribute("The absolute top position of the control in the browser")]
[BrowsableAttribute(false)]
[CategoryAttribute("Layout")]
public Unit Top {get; set;}
C++/CLI 
[DefaultValueAttribute()]
[DescriptionAttribute("The absolute top position of the control in the browser")]
[BrowsableAttribute(false)]
[CategoryAttribute("Layout")]
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.