←Select platform

SelectedBackground Property

Summary

Gets or sets brush used to draw the background of selected items. This is a dependency property.

Syntax

C#
VB
C++
public Brush SelectedBackground { get; set; } 
Public Property SelectedBackground As Brush 
public: 
property Brush^ SelectedBackground { 
   Brush^ get(); 
   void set (    Brush^ ); 
} 

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

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