Hello,
When I set LabelColumnWidth to GridLength.Auto, each row's label is sized minimally for that row, resulting in an uneven column. See the attached image. What I'd expect is that the column gets sized to the maximum of all the rows' minimal sizes, and the column line stays whole.
Will this be supported in the future? Is there a recommended workaround?
When I set LabelColumnWidth to GridLength.Auto, each row's label is sized minimally for that row, resulting in an uneven column. See the attached image. What I'd expect is that the column gets sized to the maximum of all the rows' minimal sizes, and the column line stays whole.
Will this be supported in the future? Is there a recommended workaround?
5 Answers, 1 is accepted
0
Hello Ryan,
Unfortunately such a scenario is not supported natively with the current version of RadControls, as
each PropertyGridField has its label width individually bound to this property. However, we plan to revise this behavior in some of our future releases. The only workaround that comes to my mind is to introduce a property in you view model that keeps track of the current maximum label width and bind LabelColumnWidth to it.
Regards,
Ivan Ivanov
the Telerik team
Unfortunately such a scenario is not supported natively with the current version of RadControls, as
each PropertyGridField has its label width individually bound to this property. However, we plan to revise this behavior in some of our future releases. The only workaround that comes to my mind is to introduce a property in you view model that keeps track of the current maximum label width and bind LabelColumnWidth to it.
Regards,
Ivan Ivanov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0

Timothy Lee Russell
Top achievements
Rank 2
answered on 02 Dec 2011, 07:07 AM
Hand tweaking the width in pixels worked for me. But I agree that a LabelWidth property on the overall grid should set all the widths to the largest item in the list.
0

Timothy Lee Russell
Top achievements
Rank 2
answered on 02 Dec 2011, 07:07 AM
Hand tweaking the width in pixels worked for me. But I agree that a LabelWidth property on the overall grid should set all the widths to the largest item in the list.
0

Timothy Lee Russell
Top achievements
Rank 2
answered on 02 Dec 2011, 07:07 AM
Hand tweaking the width in pixels worked for me. But I agree that a LabelWidth property on the overall grid should set all the widths to the largest item in the list.
0

Timothy Lee Russell
Top achievements
Rank 2
answered on 02 Dec 2011, 07:22 AM
Sorry, telerik website gave me an error -- and I thought pounding my head on the submit button was a good idea. You can understand once, but twice? Sorry...