Skip to main content

BackgroundImageLayout

Specifies the layout options for a background image in form controls.

Accepted Values

NameValue
None0
Tile1
Center2
Stretch3
Zoom4
Note
  • None: No background image layout is applied.
  • Tile: The background image is repeated to fill the area.
  • Center: The background image is centered within the area.
  • Stretch: The background image is stretched to fill the area.
  • Zoom: The background image is scaled to fit the area, maintaining its aspect ratio.

This enum is serialized using the Newtonsoft.Json library with the StringEnumConverter, allowing the enum values to be represented as strings in JSON.