Export (0) Print
Expand All

ListBox.BackgroundImageLayout Property

This API supports the .NET Framework 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)

'Declaration
<BrowsableAttribute(False)> _
Public Overrides Property BackgroundImageLayout As ImageLayout

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.

ExceptionCondition
InvalidEnumArgumentException

The specified enumeration value does not exist.

This property is not relevant to this class.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft