System.Windows.Forms.Control.BackgroundImageLayout Property

Gets or sets the background image layout as defined in the System.Windows.Forms.ImageLayout enumeration.

Syntax

[System.ComponentModel.Localizable(true)]
[System.ComponentModel.DefaultValue(System.Windows.Forms.ImageLayout.Tile)]
public virtual ImageLayout BackgroundImageLayout { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the Control.BackgroundImageLayout property to specify the position and behavior of an image you have placed onto a control. Control.BackgroundImageLayout takes effect only if the Control.BackgroundImage property is set.

You can increase performance for large images if you set Control.BackgroundImageLayout to something other than ImageLayout.Tile.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0