XAML Spy Useful tool for XAML developers

Released in June 2012,¬†XAML Spy, Silverlight spy¬†successor, is a tool to facilitate XAML developers life (Silverlight, Windows Phone and WinRT). If you’re used to develop with HTML/CSS, you may know “developers tools” from Internet Explorer 9 or Chrome, which allow you to select elements in the web pages, find associated CSS properties and edit them on the fly in order to view the result in the browser. In XAML application, any changes require rebuild in order to display new result. [Read More]

Put on attribute per line in XAML files in Silverlight

A XAML file can be unreadable when there are a lot of attributes in controls. Lines are often too long to be displayed on screen (horizontal scrollbar is required). Visual Studio 2010 offers an option allowing us to put one attribute per line automatically to facilitate code reading. So, when you have written your code, press Ctrl+K+D to format XAML. To activate this option, go to Tools -> Options, then open Text Editor -> XAML -> Formatting and select Spacing. [Read More]

How to use mouse wheel on Silverlight and Chrome when Windowless is enabled

In Silverlight, the mouse wheel works very well with every main browser (Internet Explorer, Firefox, Chrome, etc.) but not when Windowless is enabled. When this feature is enabled, NAPI based browsers like Chrome or Firefox don’t allow Silverlight to manage the mouse wheel. This article explains how to get the mouse wheel event using DOM. This article is based on code published on Compiled Experience but I’ve added some modifications to consider elements inherited from ItemsControl. [Read More]