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

Guage in a DockPanel

1 Answer 33 Views
DockPanel
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Fredrick Bartlett
Top achievements
Rank 1
Fredrick Bartlett asked on 20 Mar 2011, 06:28 PM
How can I use a Guage in a DockPanel? I added a guage to a DockPanel and the alignment does not work.

1 Answer, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 21 Mar 2011, 08:28 AM
Hello Fredrick Bartlett,

Thank you for writing.

I have an idea why it might not work and it is probably because the dock panel measures its children with infinity for width or height. If the gauge gets a size that contains infinity during the measure pass, it will return 0 as its desired size. In essence it behaves like a Rectangle object or another UI element that does not have an implicit desired size.

Please try setting the size of the gauge (or its parent element) to some fixed size.
If this is not the case, please describe your issue in detail so that I may provide a solution.

I am looking for your reply.

Greetings,
Victor
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
DockPanel
Asked by
Fredrick Bartlett
Top achievements
Rank 1
Answers by
Victor
Telerik team
Share this question
or