Leadtools.Windows.Controls Namespace > ImageList Class : ItemBackground Property |
[DescriptionAttribute("Background brush of each item.")] [CategoryAttribute("Appearance")] public Brush ItemBackground {get; set;}
'Declaration <DescriptionAttribute("Background brush of each item.")> <CategoryAttribute("Appearance")> Public Property ItemBackground As Brush
'Usage Dim instance As ImageList Dim value As Brush instance.ItemBackground = value value = instance.ItemBackground
[DescriptionAttribute("Background brush of each item.")] [CategoryAttribute("Appearance")] public Brush ItemBackground {get; set;}
DescriptionAttribute("Background brush of each item.") CategoryAttribute("Appearance") get_ItemBackground();
set_ItemBackground(value);
[DescriptionAttribute("Background brush of each item.")] [CategoryAttribute("Appearance")] public: property Brush^ ItemBackground { Brush^ get(); void set ( Brush^ value); }
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.
For XAML example, refer to ItemBorderBrush.
For C#/VB examples, refer to ItemBorderBrush.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2