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

Side background

1 Answer 72 Views
Cube
This is a migrated thread and some comments may be shown as answers.
Hendrik Klompmaker
Top achievements
Rank 1
Hendrik Klompmaker asked on 25 Feb 2010, 03:13 PM
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.

Regards,

Suly

1 Answer, 1 is accepted

Sort by
0
Ivan
Telerik team
answered on 02 Mar 2010, 04:05 PM
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.


Greetings,
Ivan
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
Hendrik Klompmaker
Top achievements
Rank 1
Answers by
Ivan
Telerik team
Share this question
or