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.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