This is a migrated thread and some comments may be shown as answers.

Image stretch property for treeviewitem

1 Answer 86 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
aaka
Top achievements
Rank 1
aaka asked on 05 Feb 2010, 12:12 PM
It seems like the stretch property for the defaultImageSrc property to the treeViewItem is set to Uniform. I want to set it to Fill for some treenodes. Is this possible?

I've attached one image to illustrate the problem. The treeimages in the lowest level of the tree hierarchy get so small it becomes difficult to se them.

1 Answer, 1 is accepted

Sort by
0
Accepted
Ivan
Telerik team
answered on 09 Feb 2010, 11:35 PM
Hello Andersen,

Actually the DefaultImageSrc image is limited to the MaxWidth="16" and the MaxHeight="16". However its holder (a grid column) has auto-width. Because of this you can put your large images in the header. Another way is to edit the item's template.

We hope this information will help you.
 

Sincerely yours,
Ivan
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
Tags
TreeView
Asked by
aaka
Top achievements
Rank 1
Answers by
Ivan
Telerik team
Share this question
or