ListBox.BackgroundImageLayout Property

 

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.

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

[<BrowsableAttribute(false)>]
override BackgroundImageLayout : ImageLayout with get, set

Property Value

Type: System.Windows.Forms.ImageLayout

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