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

Can't see Radwindow on Design time in Expression Blend

3 Answers 123 Views
Window
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Joshua
Top achievements
Rank 1
Joshua asked on 23 Dec 2010, 01:30 AM
Why is not possible see the controls into RadWindow or RadModalWindow ? the controls are into window but like you can see on the picture I have a button, I try with more controls and anyway, the result is the same. I need this for sort the controls.

3 Answers, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 23 Dec 2010, 02:11 PM
Hi Joshua,

Thank you for writing.

Currently our controls support only basic design-time support by providing simple metadata to the designer run-time. This is why you will not see more advanced editors for the controls than already provided by the run-time.

The case of RadWindow is different than all the other controls. RadWindow is intended to occupy zero space in the container that it is inserted in. At run-time RadWindow dynamically inserts a Canvas panel which displays the content of the window. Therefore what you are seeing during design-time, is not the Canvas panel, but RadWindow itself and you are inserting the controls in RadWindow, not the Canvas. It turned out that there is no way to delegate the creation of objects to the canvas panel in Expression Blend.

Currently you can design how your controls will look like in the window by placing them in an appropriate panel. After you do this you can simply cut the generated XAML and paste it as the value of RadWindow's Content property.

Please write again if you have more questions.

Kind regards,
Victor
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
gehl
Top achievements
Rank 1
answered on 12 Jan 2011, 11:10 AM
I have worked around it by putting all my content into yet another UserControl, but this isn't the best solution.  With my current approach, I have a lot of pass-through methods and bindings going on.  Note that Blend 4 fully supports a ChildWindow.


_________________
VLC Download
0
Victor
Telerik team
answered on 14 Jan 2011, 03:57 PM
Hello gehl,

I am happy to hear that you managed to find a workaround.

We are aware that Blend supports ChildWindow and our aim was to create an identical design-time experience for RadWindow. It turned out that some of the extensibility APIs that Microsoft provide do not work in Blend. We tried reflecting the Blend design-time assemblies to see how the things are working for ChildWindow, since there are no design-time assemblies for the framework controls. However there was no relevant logic which most likely means that the design-time support code for ChildWindow is in a native dll or in Blend itself.

We will continue our research on this problem and we will do our best to come out with a solution as soon as possible.

I would like to thank you for your time and your feedback - it is most welcome.

Regards,
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
Window
Asked by
Joshua
Top achievements
Rank 1
Answers by
Victor
Telerik team
gehl
Top achievements
Rank 1
Share this question
or