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
1155
highlight charactors in a node text
posted

Hello,

is it possible to highlight some charactors in a node text? Like this:

 

 

Parents
  • 469350
    Verified Answer
    Offline posted

    Actually, the FormattedTextEditor does support this.

    Here's some quick sample code that demonstrates how you might do it:

                this.ultraTree1.Override.UseEditor = Infragistics.Win.DefaultableBoolean.True;
                this.ultraTree1.Override.EditorControl = this.ultraFormattedTextEditor1;

                this.ultraTree1.Nodes.Add("ABCDEFG");
                this.ultraTree1.Nodes.Add("AB<span style=\"background-color:Yellow;\">CD</span>EFG");

Reply Children
No Data