Leadtools.WinForms Namespace > RasterThumbnailBrowser Class : ItemSelectedForeColor Property |
[CategoryAttribute("Appearance")] [DescriptionAttribute("The color used to display the text of selected items.")] public Color ItemSelectedForeColor {get; set;}
'Declaration <CategoryAttribute("Appearance")> <DescriptionAttribute("The color used to display the text of selected items.")> Public Property ItemSelectedForeColor As Color
'Usage Dim instance As RasterThumbnailBrowser Dim value As Color instance.ItemSelectedForeColor = value value = instance.ItemSelectedForeColor
[CategoryAttribute("Appearance")] [DescriptionAttribute("The color used to display the text of selected items.")] public: property Color ItemSelectedForeColor { Color get(); void set ( Color value); }
How the ItemSelectedForeColor value is used to draw the items depends on the current RasterImageList.ViewStyle. The following table lists all the cases:
ViewStyle | Description |
---|---|
RasterImageListViewStyle.Normal | Fills the background of selected items. |
RasterImageListViewStyle.Explorer | Draw the text of selected items as well as a rectangle around the image of selected items. |
RasterImageListViewStyle.Button | Not used. |
For more information about item appearance, refer to RasterImageList Appearance.