Is it possible to put multi-lined text in items of RadListBox ?
3 Answers, 1 is accepted
answered on 30 Aug 2007, 04:27 PM
Yes, you can do it in different ways:
There are 2 text properties that ListBoxItem has: Text and Description. If you use these you have the advantage to set different font, color, etc. setting for each text and to show a text separator (its visibility is determined by the property TextSeparatorVisibility.
For each of these 2 texts you can specify texts with many lines. If you set them by code use symbol for new line ("\n") or the default windows combination ("\r\n"). If you set them in design time click on the arrow for the text and write in the drop-down the text pressing Enter when new line is necessary. When the text is entered press Ctrl+Enter.