Skip to main content
Tab

BackgroundImage.HorizontalPosition Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue("")]
public string HorizontalPosition { get; set; }

Property Value

Type Default Description
String String.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