ComboBox::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 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 (Center, None, Stretch, Tile, or Zoom).
| Exception | Condition |
|---|---|
| InvalidEnumArgumentException | The specified value is not one of the values of ImageLayout. |
This property is not relevant to this class.
.NET Framework
Available since 2.0
Available since 2.0
Show: