ListBox.BackgroundImageLayout Property
In this article
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the background image layout for a ListBox as defined in the ImageLayout enumeration.
public:
virtual property System::Windows::Forms::ImageLayout BackgroundImageLayout { System::Windows::Forms::ImageLayout get(); void set(System::Windows::Forms::ImageLayout value); };
[System.ComponentModel.Browsable(false)]
public override System.Windows.Forms.ImageLayout BackgroundImageLayout { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.BackgroundImageLayout : System.Windows.Forms.ImageLayout with get, set
Public Overrides Property BackgroundImageLayout As ImageLayout
One of the values of ImageLayout. The values are Center
, None
, Stretch
, Tile
, or Zoom
. Center
is the default value.
- Attributes
The specified enumeration value does not exist.
This property is not relevant to this class.
Applies to
Product | Versions |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |