[]
Gets or sets the background image layout as defined in the ImageLayout enumeration.
public override ImageLayout BackgroundImageLayout { get; set; }
Public Overrides Property BackgroundImageLayout As ImageLayout
| Type | Description |
|---|---|
| ImageLayout | One of the values of ImageLayout (Center , None, Stretch, Tile, or Zoom). Tile is the default value. |
Use the BackgroundImageLayout property to specify the position and behavior of an image you have placed on a control. BackgroundImageLayout takes effect only if the BackgroundImage property is set.
| Type | Condition |
|---|---|
| InvalidEnumArgumentException | The specified enumeration value does not exist. |