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

How to Place User Controls in the cube

1 Answer 62 Views
Cube
This is a migrated thread and some comments may be shown as answers.
Congero
Top achievements
Rank 1
Congero asked on 22 Feb 2010, 09:36 PM
Hi
I saw a few posts on adding images and charts to the cube.  I would like to know how to place user controls in the cube.
I have existing user controls that I want to use as the faces of the cube.  I can see the outline of the user controls but I can't see thei content.  This is an example of the xaml

 

 

 

<Grid

 

 

 

x:Name="LayoutRoot"

 

 

 

Background="White">

 

 

 

 

<telerikNavigation:RadCube

 

 

 

x:Name="MyCube"

 

 

 

SelectedIndex="2"

 

 

 

RotateSpeed="5"

 

 

 

IsRotateOnStart="False"

 

 

 

XWidth="200"

 

 

 

YWidth="200"

 

 

 

ZWidth="200"

 

 

 

HorizontalAlignment="Right"

 

 

 

VerticalAlignment="Center">

 

 

 

 

<local:uc1 x:Name="Info1"

 

 

 

Visibility="Visible"></local:uc1>

 

 

 

 

<local:uc2

 

 

 

x:Name="Info2"

 

 

 

Visibility="Visible"></local:uc2>

 

 

 

 

<local:uc3

 

 

 

x:Name="Info3"

 

 

 

Visibility="Visible"></local:uc3>

 

 

 

 

</telerikNavigation:RadCube>

 

1 Answer, 1 is accepted

Sort by
0
Hristo Borisov
Telerik team
answered on 23 Feb 2010, 01:16 PM
Hello Reggie Tyler,

I am not aware of the underling content control used in your UserControl but most probably it need to have some explicit Width and Height values set. Try explicitly setting the width and the height of your user control since they are known - 200, and if your UserControl has some content to show everything should work OK. If not, please share with us your implementation of the UserControl in order to check whether everything is set appropriately.

Please feel free to contact us with any other questions you might have.

Greetings,
Hristo Borisov
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
Cube
Asked by
Congero
Top achievements
Rank 1
Answers by
Hristo Borisov
Telerik team
Share this question
or