←Select platform

ItemBackground Property

Summary

Gets or sets brush used to draw the background of the items in this control.

Syntax

C#
VB
C++
[CategoryAttribute("Appearance")] 
[DescriptionAttribute("Background brush of each item.")] 
public Brush ItemBackground {get; set;} 
<CategoryAttribute("Appearance")> 
<DescriptionAttribute("Background brush of each item.")> 
Public Property ItemBackground As Brush 
[CategoryAttribute("Appearance")] 
[DescriptionAttribute("Background brush of each item.")] 
public: 
property Brush^ ItemBackground { 
   Brush^ get(); 
   void set (    Brush^ ); 
} 

Property Value

A System.Windows.Media.Brush object that is used to draw the background of the items in this control. Default value is null (Nothing in VB).

Remarks

Use the ItemBackground property to define the brush used to fill the area inside the item not overlapped by the image.

Changing this property will make this control loop through all the items and setting IImageListItem.Background accordingly.

Example

For XAML example, refer to ItemBorderBrush.

For C#/VB examples, refer to ItemBorderBrush.

Requirements

Target Platforms

See Also

Reference

ImageList Class

ImageList Members

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Windows.Controls Assembly
Click or drag to resize