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

MaxWidth property problem in WrapPanel

3 Answers 58 Views
WrapPanel
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Pieter
Top achievements
Rank 1
Pieter asked on 29 Jul 2011, 04:16 AM
Hi,

I noticed that RadWrapPanel fixes the panel width when I set a value in MaxWidth and this behavior is different if we compare with WrapPanel from Silverlight toolkit. Is this a real problem or not?

Thanks in advance.

Pieter Voloshyn

3 Answers, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 03 Aug 2011, 11:37 AM
Hi Pieter,

 I was not aware that the toolkit wrap panel behaves differently but our behavior is by design. the MaxWidth property is controlled by the Silverlight framework, not by us and I think this is how it should work. When max width is set, the Width property has no effect when it is greater than MaxWidth. It can be less however.

How does the toolkit behave? Do you need this functionality? We will consider extending RadWrapPanel so that it can behave both ways.

Please write again if you have other questions.

Kind regards,
Victor
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

0
Pieter
Top achievements
Rank 1
answered on 03 Aug 2011, 09:06 PM
Hi Victor,

I insert a WrapPanel with MaxWidth = 800. With toolkit, if exists fewer items the width is reduced. Replacing with the Telerik WrapPanel, independently if exists fewer items the width is equals to 800.

Thanks in advance.

Pieter Voloshyn
0
Victor
Telerik team
answered on 10 Aug 2011, 09:03 AM
Hi Pieter,

 Thank you for the clarification. This is a bug in the RadWrapPanel layout and we will fix it for the next internal build (next monday).

Please write again if you need further assistance.
Your Telerik points have been updated.

Best wishes,
Victor
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Tags
WrapPanel
Asked by
Pieter
Top achievements
Rank 1
Answers by
Victor
Telerik team
Pieter
Top achievements
Rank 1
Share this question
or