ListBox::BackgroundImageLayout Property
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Gets or sets the background image layout for a ListBox as defined in the ImageLayout enumeration.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: [BrowsableAttribute(false)] property ImageLayout BackgroundImageLayout { virtual ImageLayout get() override; virtual void set(ImageLayout value) override; }
Property Value
Type: System.Windows.Forms::ImageLayoutOne of the values of ImageLayout. The values are Center, None, Stretch, Tile, or Zoom. Center is the default value.
| Exception | Condition |
|---|---|
| InvalidEnumArgumentException | The specified enumeration value does not exist. |
This property is not relevant to this class.
.NET Framework
Available since 2.0
Available since 2.0
Show: