When a 'z' just doesn't cut it... (Oren Nachman's random notes from Microsoft)
Silverlight for Windows Phone
Tips & Tricks
WP7 Dev Tips
Browse by Tags
Tagged Content List
WP7 Silverlight Gotcha: Setting the Source on a MediaElement will stop background music playback
Applies To: Silverlight (the restriction applies to XNA, but the MediaElement is only Silverlight) Quick Bits Simply setting the Source of a MediaElement to a valid source will stop any current background playback, causing you to fail Marketplace certification, according to section 6.5.1 from the...
2 Dec 2010
WP7 Gotcha: Showing a Launcher or Chooser will crash while Navigating
Applies To: Silverlight & XNA (anyone using Launchers / Choosers) Quick Bits Always wrap [some launcher object].Show() with a try/catch block which catches InvalidOperationException , since running Show() while navigating (for example, if the user clicks your button multiple times quickly in...
30 Nov 2010
WP7 Perf Tip #4: Use fully qualified paths when setting the source property
File this one under "Sad, but True"... Take Away's: Always prefix your source paths with a "/" (full-qualified path) instead of simply using relative paths. Correct: <Image Source=" / Resources/Images/Background.jpg"> Incorrect: <Image Source="Resources/Images/Background.jpg...
28 Sep 2010
WP7 Silverlight TextBoxes No Longer Scroll
There's a change in the pipeline that will be hitting the public Windows Phone 7 images at some point soon (post the current Beta), which removes the ScrollViewer from a TextBox's template. What does this mean? Basically, long TextBoxes will no longer scroll when you gesture over them - the gesture...
9 Aug 2010
Page 1 of 1 (4 items)
© 2013 Microsoft Corporation.
Privacy & Cookies