Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
460
Update node appearance
posted

Hi folks,

I need to update node appearance based on its value. For example, if node's cell value for Column2 and Column3 are "True", I need to update node's font style to Bold. My question is, what is the best way to do this?

Many thanks.

Parents
No Data
Reply
  • 69832
    Suggested Answer
    Offline posted

    Handle the CellValueChanged event, and use the e.Column property to determine which column's cell value has changed; then use the e.Node property to get a reference to the node, then set the UltraTreeNode.Override.NodeAppearance.FontData.Bold property to true.

Children