Drag and drop Toolbox controls to Form in Silverlight

Last post 07-13-2009 6:11 AM by Sjiep. 3 replies.

Sort Posts:

  • Drag and drop Toolbox controls to Form in Silverlight

    06-13-2009, 10:43 AM

    I have just installed Silverlight here: http://silverlight.net/GetStarted/
    I have created a new silverlight website and now have 2 views (XAML and Preview). It seems like this is kind of equvivalent to (Source and Design)

    When I now are in the Preview, I get a little confused. I have the toolbox with the "Silverlight XAML controls" and now try to "drag and drop" a buttoncontrol to the Preview but this is not possible.

    Is it possible to drag and drop controls from the toolbox in silverlight to the Form ?

  • Re: Drag and drop Toolbox controls to Form in Silverlight

    06-14-2009, 12:38 AM
    Answer
    • Participant
      1,298 point Participant
    • rushik
    • Member since 02-27-2009, 1:15 PM
    • Ahmedabad
    • Posts 225

    hi..

    you can drag and drop controls in silverlight XAML view..

    for reference go through this article..

    http://www.c-sharpcorner.com/UploadFile/mahesh/SLDataGrid05032009223331PM/SLDataGrid.aspx

    hope this helps..

    Remember to click “Mark as Answer” on the post If you get answer from my post(s) !
    ---------
    Rushik
  • Re: Drag and drop Toolbox controls to Form in Silverlight

    06-14-2009, 8:11 AM

    I think I understand then, so "Drag and drop" is only possible i XAML view and not designview.

    Thank you..

  • Re: Drag and drop Toolbox controls to Form in Silverlight

    07-13-2009, 6:11 AM
    • Member
      2 point Member
    • Sjiep
    • Member since 06-17-2009, 2:38 AM
    • Holland
    • Posts 1

    A late response.. but it is possible to drag and drop items from the toolbar onto the preview pane.


    If you are still having trouble doing so, check if there is a yellow bar at the top of the preview pane. Sometimes (when the code has changed) the preview needs to be refreshed first. Click on the yellow bar to refresh.


    Hope this helps!

Page 1 of 1 (4 items)