ComboBox::BackgroundImageLayout Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

Namespace:   System.Windows.Forms
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::ImageLayout

One 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
Return to top
Show: