LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly)
LEAD Technologies, Inc

SelectedBackground Property






Gets or sets brush used to draw the background of selected items. This is a dependency property. .NET support Silverlight support
Syntax
[CategoryAttribute("Appearance")]
[DescriptionAttribute("The color used to fill the background of selected items.")]
public Brush SelectedBackground {get; set;}
'Declaration
 
<CategoryAttribute("Appearance")>
<DescriptionAttribute("The color used to fill the background of selected items.")>
Public Property SelectedBackground As Brush
'Usage
 
Dim instance As ImageListItem
Dim value As Brush
 
instance.SelectedBackground = value
 
value = instance.SelectedBackground
[CategoryAttribute("Appearance")]
[DescriptionAttribute("The color used to fill the background of selected items.")]
public Brush SelectedBackground {get; set;}
CategoryAttribute("Appearance")
DescriptionAttribute("The color used to fill the background of selected items.")
 get_SelectedBackground();
set_SelectedBackground(value);
[CategoryAttribute("Appearance")]
[DescriptionAttribute("The color used to fill the background of selected items.")]
public:
property Brush^ SelectedBackground {
   Brush^ get();
   void set (    Brush^ value);
}

Property Value

A System.Windows.Media.Brush object that is used to draw the background selected items. Default value is a transparent System.Windows.Media.SolidColorBrush.
Remarks

Use the Background property to define the brush used to fill the area inside the item not overlapped by the image.

Use the ImageListItem.SelectedBackground dependency property to set the brush used to draw the background of the selected item.

Example

For XAML example, refer to ImageList.

For C#/VB examples, refer to ImageList.

Requirements

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

See Also

Reference

ImageListItem Class
ImageListItem Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.