BackgroundImage.Repeat Property
Gets or sets a value that specifies how the background image fills the available space.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
[DefaultValue(BackgroundImageRepeat.Repeat)]
public BackgroundImageRepeat Repeat { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Background |
Repeat | One of the Background |
Available values:
Name | Description |
---|---|
Repeat | Repeats the image horizontally and vertically in the background. |
No |
Displays the image only once and does not repeat it. The image’s position can be specified via the Background |
Repeat |
Repeats the image horizontally in the background. The vertical position of the images can be specified via the Background |
Repeat |
Repeats the image vertically in the background. The horizontal position of the images can be specified via the Background |
#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.