Skip to main content
Tab

BackgroundImage.Repeat Property

Gets or sets a value that specifies how the background image fills the available space.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(BackgroundImageRepeat.Repeat)]
public BackgroundImageRepeat Repeat { get; set; }

Property Value

Type Default Description
BackgroundImageRepeat Repeat

One of the BackgroundImageRepeat enumeration values.

Available values:

Name Description
Repeat

Repeats the image horizontally and vertically in the background.

NoRepeat

Displays the image only once and does not repeat it. The image’s position can be specified via the BackgroundImage.HorizontalPosition and BackgroundImage.VerticalPosition properties.

RepeatX

Repeats the image horizontally in the background. The vertical position of the images can be specified via the BackgroundImage.VerticalPosition property.

RepeatY

Repeats the image vertically in the background. The horizontal position of the images can be specified via the BackgroundImage.HorizontalPosition property.

Remarks

Use the Repeat property to control how the background image set via the BackgroundImage.ImageUrl property fills the available space of the corresponding object.

See Also