@(Html.Kendo().TreeView()
.Name("treeviewDetails")
.Items(treeview =>
{
treeview.Add().Text("Information")
.Expanded(true)
.Items(root =>
{
root.Add().Text("Priority" + ": " + InOnwHours);
root.Add().Text("Due Date" + ": " + "Today");
root.Add().Text("Return emails" + ": " + "example@gmail.com");
});
}
How i can format the part of text in root.Add().Text text ? i need show the text after ":" in different color, style and size. (for example example@gmail.com in red) see attached image.
Thank you for help.