I have a RadWrapPanel inside an ItemsControl that contains N number of RadButtons. Is there a way to make it so that when wrapping occurs the remaining controls in a row expand to fill the available space?
I have attached a screenshot of my current way RadWrapPanel works for me.
Thanks.
2 Answers, 1 is accepted
0
Accepted
Yana
Telerik team
answered on 09 Oct 2012, 03:41 PM
Hi Andrew,
Currently it is not possible to implement this requirement, but in the upcoming Q3 release you will be able to override ArrangeElement method of the control and manually set the needed width to the last buttons in the rows. Q3 2012 will be released until the end of this month.
Thanks for the help. Looking forward to that solution. I've solved the problem in the meantime by implementing my own Wrap Panel from the the Panel base and overriding ArrangeOverride, splitting the difference of the remaining width on a line between the controls on that line.