Visual Basic (Declaration) | |
---|---|
<DescriptionAttribute("The color used to fill the background of selected items.")> <CategoryAttribute("Appearance")> Public Property ItemSelectedBackground As Brush |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ImageList Dim value As Brush instance.ItemSelectedBackground = value value = instance.ItemSelectedBackground |
C# | |
---|---|
[DescriptionAttribute("The color used to fill the background of selected items.")] [CategoryAttribute("Appearance")] public Brush ItemSelectedBackground {get; set;} |
C++/CLI | |
---|---|
[DescriptionAttribute("The color used to fill the background of selected items.")] [CategoryAttribute("Appearance")] public: property Brush^ ItemSelectedBackground { Brush^ get(); void set ( Brush^ value); } |
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.For XAML example, refer to ItemBorderBrush.
For C#/VB examples, refer to ItemBorderBrush.
Changing this property will make this control loop through all the items and setting the ImageListItem.SelectedBackground accordingly.
Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family