Visual Basic (Declaration) | |
---|---|
Public Property BackgroundPosition As String |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Background Dim value As String instance.BackgroundPosition = value value = instance.BackgroundPosition |
C# | |
---|---|
public string BackgroundPosition {get; set;} |
Property Value
String containing the position of the background (see below)The position is defined by the W3C Recommendation, Cascading Style Sheets (CSS), Level 1 (CSS1).
[<percentage> | <length>]{1,2} | [top | center | bottom] || [left | center | right]
For example, "100% 100%" would be the same as "bottom right" and "right bottom", "0% 0%" would be the same as "top left" and "left top"
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family