Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Diagram > Manipulation of GalleryItem

Not answered Manipulation of GalleryItem

Feed from this thread
  • Yoan avatar

    Posted on Apr 23, 2012 (permalink)

    Hello everybody , 

    I am trying to use the example from the demos of the Diagram control. What I need is kind of designer like those one used in the DesignToolbox. I managed to edit it in a pretty good way so it is useful , but I have problems when I am trying to manipulate the gallery items. For example i want to have 5 different items in the menu from where to drag , with different shape and color and text inside. I succeeded in changing the shape and the content , I change them in a RadDiagramShape which I add to the GalleryItem , but I can not  change the color of the shape and it is very important for me to change it , I tried with the standart properties which I found in the class but there was no result. I hope I have described my problem fully and understandable and you will give me a solution in short time, thanks in advance.

    Regards,
    Yoan

    Reply

  • Viktor Tsvetkov Viktor Tsvetkov admin's avatar

    Posted on Apr 26, 2012 (permalink)

    Hello Yoan,

    In order to change the color of the shape you should change its Background but currently there is a bug in the Toolbox so you cannot directly set a value to the Background property and you should create a Style which sets this property and apply it to all shapes. Could you please try this approach and tell me if it works for you? Actually for the coming Q2 we will bring a brand new RadDiagramToolbox control which you will be able to use in such scenarios.

    Kind regards,
    Viktor Tsvetkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Reply

  • Say Hello to Telerik's PivotGrid for ASP.NET AJAX, Silverlight, WPF and WinForms. Now packed with OLAP support.
  • Yoan avatar

    Posted on Apr 26, 2012 (permalink)

    Hello Viktor,

    The approach works perfectly , thanks.

    Regards,
    Yoan

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Diagram > Manipulation of GalleryItem