Hi Susann,
Thank you for contacting us.
If I understand correctly, you don`t want the horizontal scrollbar to be visible when resizing the RadTeeView. I can suggest you to enable wrapping text of the nodes in RadTreeView, via the TextWrap property of the visual node element in the NodeFormatting event handler:
In addition, if you can also make the nodes size themselves according to their content with the following setting:
In the attachments can be found a sample demo.
I hope that you find this information useful. Should you have any other questions, do not hesitate to contact us.
Regards,
Ralitsa
Telerik
Thank you for contacting us.
If I understand correctly, you don`t want the horizontal scrollbar to be visible when resizing the RadTeeView. I can suggest you to enable wrapping text of the nodes in RadTreeView, via the TextWrap property of the visual node element in the NodeFormatting event handler:
void
radTreeView1_NodeFormatting(
object
sender, Telerik.WinControls.UI.TreeNodeFormattingEventArgs e)
{
e.NodeElement.ContentElement.TextWrap =
true
;
e.NodeElement.ItemHeight = 30;
}
In addition, if you can also make the nodes size themselves according to their content with the following setting:
this
.radTreeView1.AllowArbitraryItemHeight =
true
;
In the attachments can be found a sample demo.
I hope that you find this information useful. Should you have any other questions, do not hesitate to contact us.
Regards,
Ralitsa
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items