Spread for ASP.NET 10 Product Documentation
BackgroundPosition Property


Gets or sets the position of the background of the object.
Syntax
'Declaration
 
Public Property BackgroundPosition As String
'Usage
 
Dim instance As Background
Dim value As String
 
instance.BackgroundPosition = value
 
value = instance.BackgroundPosition
public string BackgroundPosition {get; set;}

Property Value

String containing the position of the background (see below)
Remarks

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"

 

 

Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

Background Class
Background Members

External

W3C.org CSS1

 

 


Copyright © GrapeCity, inc. All rights reserved.