BackgroundImage.HorizontalPosition Property
Gets or sets the horizontal alignment of the background image(s) within a container element.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v19.2.dll
Declaration
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the HorizontalPosition property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.