laptop and a wrench

Bug

BackColor property of TreeViewPlusNode can be set, but it is not being reflected.

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM037389
SubmittedAugust 12, 2008
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found9.3
Program languageC#
StatusDuplicate

Additional Information

NIM035650

Workaround

Workaround:Using the following line of code:node.StyleAttributes.Add("background-color", "Aqua"); allows the background color of the node to be set. But this property works slightly differently than the BackColor property. BackColor property in 9.2 highlights only that specific node while using the StyleAttributes in 9.3, highlights the node as well as its children. It seems to highlight the entire div or table row that the particular node is within. A screenshot showing this behavior has been attached.

Steps to Reproduce

Bug ID: NIM037389

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options