How to Place User Controls in the cube

2 posts, 0 answers
  1. Congero
    Congero avatar
    20 posts
    Member since:
    Sep 2012

    Posted 22 Feb 2010 Link to this post

    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>

     

  2. Hristo Borisov
    Admin
    Hristo Borisov avatar
    298 posts

    Posted 23 Feb 2010 Link to this post

    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.
  3. DevCraft banner
Back to Top