Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <h2>ComboBox weirdness</h2> <p>One thing that <a href="https://stackoverflow.com/questions/481817/what-are-the-biggest-gotchas-in-silverlight-2-0#481831">Jeff Yates mentioned in his reply</a> was weirdness with ComboBoxes - I've seen that one personally, and I've also seen another very, very irritating issue with them. If you try to change the items in a ComboBox from the event handler for a button's Click event, you will get a cryptic error message which I can't think of at the moment. My solution to it was to do the same thing as in Jeff's solution - remove the combo box, construct a new one, fill that one with the changed item set, and add that back to the containing panel.</p> <h2>No ElementName binding</h2> <p>Silverlight has nothing analagous to WPF's ElementName binding ability. <a href="http://www.thejoyofcode.com/Workaround_for_missing_ElementName_in_Silverlight_2_0_Binding.aspx" rel="nofollow noreferrer">This post</a> has a good workaround that has worked pretty well for me.</p> <h2>No support for mouse scroll wheel events</h2> <p>There is no native support for capturing mouse scroll wheel events. <a href="http://www.silverlightshow.net/tips/Tip-How-to-capture-mouse-scroll-wheel-event-in-Silverlight.aspx" rel="nofollow noreferrer">This post</a> provides a solution that uses browser events for it.</p> <h2>No Unloaded event on UserControls</h2> <p>There is a Loaded event, but no Unloaded - if you want to remove a control from the screen and run some unloading logic, you need to roll your own way to do so. I have an IUnloadable interface that I derive my controls from that need to run unloading logic and invoke a method on it manually when the time is right.</p> <hr> <p>And finally, <a href="http://devlicio.us/blogs/rob_eisenberg/archive/2008/07/26/silverlight-problems-that-affect-me.aspx" rel="nofollow noreferrer">this post</a> has some good info about what Silverlight is missing as compared to what WPF has.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload