←Select platform

ItemBackground Property

Summary

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

Syntax

C#
VB
C++
public Brush ItemBackground { get; set; } 
Public Property ItemBackground As Brush 
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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Controls Assembly