Line
Upgrades to System.Windows.Forms.Label if horizontal or vertical line. Diagonal lines are not upgraded.
Visual Basic 6 | Type | Visual Basic .NET |
BorderColor | Property | BackColor |
BorderStyle | Property | No mapping |
BorderWidth | Property | Width for horizontal lines, or Height for vertical lines |
Container | Property | Parent |
DrawMode | Property | No mapping |
Index | Property | Index property of ControlArray object |
Name | Property | Name |
Parent | Property | FindForm |
Refresh | Method | Refresh |
Tag | Property | Tag |
Visible | Property | Visible |
X1 | Property | Used for Location and Size at design time |
X2 | Property | Used for Location and Size at design time |
Y1 | Property | Used for Location and Size at design time |
Y2 | Property | Used for Location and Size at design time |
ZOrder | Method | VB6.ZOrder method, or BringToFront if Position parameter is 0, SendToBack if Position parameter is 1 |