Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Cube > Rotating event

Not answered Rotating event

Feed from this thread
  • martin bertram avatar

    Posted on Nov 29, 2010 (permalink)

    Hi, is there any way to trigger an event when the cube starts /stops rotating, specifically so I can perform some code on the item on the face that was previously selected or is going to be selected?

    Reply

  • Tina Stancheva Tina Stancheva admin's avatar

    Posted on Dec 2, 2010 (permalink)

    Hello martin bertram,

    You can handle the SelectedIndexChanged() event that is raised every time the SelectedIndex is changed, which means that you will be able to access the control on the side that is just selected and implement custom logic for it:
    private void RadCube_SelectedIndexChanged(object sender, EventArgs e)
    {
        RadCube cube = sender as RadCube;
     
        int newSideIndex = cube.SelectedIndex;
        var newSide = cube.Items[newSideIndex];
    }

    Please have a look at the attached sample project and let me know if it works for you.

    Kind regards,
    Tina Stancheva
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
    Attached files

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Cube > Rotating event
Related resources for "Rotating event"

Silverlight Cube Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]