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 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6