Side background

2 posts, 0 answers
  1. Hendrik Klompmaker
    Hendrik Klompmaker avatar
    2 posts
    Member since:
    Jan 2009

    Posted 25 Feb 2010 Link to this post

    Hi Telerik,

    I'm trying to change the sidebackgroundcolor of the selected side (of which the index can be retrieved by selectedIndex). How do I do that?
    Setting RadCube.Background doesn't seem to be doing the trick. The same accounts for the BorderBrush and BorderThicknesse, I don't see how to change that.

    Help would be appreciated.


  2. Ivan
    Ivan avatar
    519 posts

    Posted 02 Mar 2010 Link to this post

    Hello Hendrik,
    Thank you for contacting us.

    In order to change the background of the Selected Side you can evaluate the RadCube.SelectedIndex and then to select the related RadCube.SideXBackground (where the X is from 1 to 6).

    But if you want to set the border's brush and thickness then you should instantiate a Border element inside each of your cube's sides. Again you should evaluate the SelectedIndex to get the right border.

    Please try the suggested approach and let us know if have other questions.

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