LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly)

ItemBackground Property

Show in webframe





Gets or sets brush used to draw the background of the items in this control.
Syntax
[CategoryAttribute("Appearance")]
[DescriptionAttribute("Background brush of each item.")]
public Brush ItemBackground {get; set;}
'Declaration
 
<CategoryAttribute("Appearance")>
<DescriptionAttribute("Background brush of each item.")>
Public Property ItemBackground As Brush
'Usage
 
Dim instance As ImageList
Dim value As Brush
 
instance.ItemBackground = value
 
value = instance.ItemBackground

            

            
[CategoryAttribute("Appearance")]
[DescriptionAttribute("Background brush of each item.")]
public:
property Brush^ ItemBackground {
   Brush^ get();
   void set (    Brush^ value);
}

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 Visual Basic).
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
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.