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

Docking Control inside of ViewBox

7 Answers 94 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Boots
Top achievements
Rank 1
Boots asked on 27 Apr 2010, 03:14 PM
Hello,

I Just upgraded to version 2010.1.422.35. Our screens are all contained inside of a ViewBox with Stretch="Fill". The Docking control works as expected but when the size changes the compass size doesn't change at all. I was wondering if you had any ideas on how i could change the compass size?

Thanks Much,
~Boots

7 Answers, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 29 Apr 2010, 12:54 PM
Hello Boots,

 All the compasses and ToolWindows and VisulCue in the latest version are now in a separate window. This might be causing the problem.

Regards,
Miroslav Nedyalkov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Boots
Top achievements
Rank 1
answered on 29 Apr 2010, 02:38 PM
Hi Miroslav,

Any suggestions on a starting point for figuring out how to increase or decrease the size of the separate window that contains the compass or VisulCue? Figured i could just bind the height and width to the ViewBoxs Height and Width. But I don't know how to get access to the window that contains the compass. Any Ideas?

Thanks Again,
~Boots


0
Miroslav Nedyalkov
Telerik team
answered on 04 May 2010, 11:59 AM
Hello Ben,

 You could access the window that hosts all the tool windows and compasses using the VisualTreeHelper class and go up trough the visual tree while you find the window. Nevertheless I wouldn't recommend you to do so, because this might cause problems with the positioning of the Docking control.

Regards,
Miroslav Nedyalkov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Boots
Top achievements
Rank 1
answered on 05 May 2010, 10:24 PM
Hello Miroslav,

Any other recommendations since you wouldn't recommend going up the visual tree? Preferably something useful.

Thanks,
~Boots
0
Miroslav Nedyalkov
Telerik team
answered on 11 May 2010, 08:05 AM
Hello Ben,

 This is the best suggestion I have.

Regards,
Miroslav Nedyalkov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Boots
Top achievements
Rank 1
answered on 13 May 2010, 03:12 PM
Hi Miroslav,

Thank you for the suggestion. I got the size of the control to change but didn't seem to have much affect on the compass. I'll continue to tinker with it later on.

Reason we're using the ViewBox on our screens is we wanted the font to grow/stretch with the control when the window changes size. And originally it was the only way to get the wpf Control into our product (this is not the case anymore). We still want the font to grow with the control so unfortunately we're still using the ViewBox Control. That and the fact that we're using windows forms element host to display the wpf controls are holding us back. I was wondering if you had any ideas on how i could make the font grow with the control so i could get rid of the ViewBox?

Thanks Again,
~Boots
0
Miroslav Nedyalkov
Telerik team
answered on 18 May 2010, 09:51 AM
Hi Ben,

 I cannot suggest you better approach for changing the size of the font.

Regards,
Miroslav Nedyalkov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Docking
Asked by
Boots
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Boots
Top achievements
Rank 1
Share this question
or