Change Arrow Cue color Color

4 posts, 0 answers
  1. Seb
    Seb avatar
    10 posts
    Member since:
    Oct 2010

    Posted 11 Feb 2011 Link to this post

    Hi,

    I would like to change the color of arrow cue in my project, but there is a conversion type problem when I use the code found here: http://www.telerik.com/help/silverlight/raddraganddrop-howto-change-color-arrow-cue.html

    I join a picture of my error in this thread.

    Thanks to answer me.


  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 11 Feb 2011 Link to this post

    Hi Taymans,

    The created arrowCue is of type ContentControl and you cannot convert it to Brush. You may take another look at the mentioned article to verify that this conversion is not present.

    Best wishes,
    Maya
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
  3. DevCraft banner
  4. Seb
    Seb avatar
    10 posts
    Member since:
    Oct 2010

    Posted 11 Feb 2011 Link to this post

    Hi,

    I was not converting for my pleasure.
    If i don't, there is an IMPLICIT convert error, see in attachment.

    Thanks for your answer.
  5. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 16 Feb 2011 Link to this post

    Hi Taymans,

    Please excuse me for the misunderstanding. The mistake is actually in the documentation and it has immediately been corrected. The definition should be as follows:

    var arrowCue = RadDragAndDropManager.GenerateArrowCue();
    arrowCue.Background = new SolidColorBrush(Colors.Red);
    e.Options.ArrowCue = arrowCue;

     

    All the best,
    Maya
    the Telerik team
Back to Top