Skip to main content
A newer version of this page is available. .
Tab

BackgroundImage.VerticalPosition Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.1.dll

Declaration

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

Property Value

Type Default Description
String String.Empty

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

Remarks

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

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

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the VerticalPosition 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.

See Also