←Select platform

ItemSelectedBackground Property

Summary

Gets or sets the brush used to draw the selected items background.

Syntax

C#
VB
C++
[CategoryAttribute("Appearance")] 
[DescriptionAttribute("The color used to fill the background of selected items.")] 
public Brush ItemSelectedBackground {get; set;} 
<CategoryAttribute("Appearance")> 
<DescriptionAttribute("The color used to fill the background of selected items.")> 
Public Property ItemSelectedBackground As Brush 
[CategoryAttribute("Appearance")] 
[DescriptionAttribute("The color used to fill the background of selected items.")] 
public: 
property Brush^ ItemSelectedBackground { 
   Brush^ get(); 
   void set (    Brush^ ); 
} 

Property Value

A System.Windows.Media.Brush that used to draw the selected items background. Default value is a System.Windows.Media.SolidColorBrush of System.Windows.SystemColors.HighlightColor.

Remarks

Changing this property will make this control loop through all the items and setting the ImageListItem.SelectedBackground 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