BackgroundImage.VerticalPosition Property
Gets or sets the vertical alignment of the background image(s) within a container element.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v20.2.dll
NuGet Package: DevExpress.Web
Declaration
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.
Related GitHub Examples
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.