Back to Devexpress

BackgroundImage.HorizontalPosition Property

aspnet-devexpress-dot-web-dot-backgroundimage.md

latest1.9 KB
Original Source

BackgroundImage.HorizontalPosition Property

Gets or sets the horizontal alignment of the background image(s) within a container element.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue("")]
public string HorizontalPosition { get; set; }
vb
<DefaultValue("")>
Public Property HorizontalPosition As String

Property Value

TypeDefaultDescription
StringString.Empty

A String value that specifies the image’s horizontal position.

|

Remarks

The HorizontalPosition property is in effect if an image’s BackgroundImage.Repeat property is not set to BackgroundImageRepeat.Repeat. In this instance, the HorizontalPosition property specifies how the background image is positioned horizontally within the available place of the container element.

The vertical position of a background image(s) can be specified by the BackgroundImage.VerticalPosition property.

See Also

VerticalPosition

BackgroundImage Class

BackgroundImage Members

DevExpress.Web Namespace