Recent Posts


Comments

[Windows 8] Please implement the PlayTo feature in your media apps by Benjamin Roux

One of the greatest feature in Windows 8 apps is the ability to stream the video/photos/music you’re playing to any DLNA capable device in your network. Meaning that if you’re watching a movie on Netflix on your brand new Surface tablet in your garden...
Filed under: , , ,

Comments

[Windows 8] An application bar toggle button by Benjamin Roux

To stay in the application bar stuff, here’s another useful control which enable to create an application bar button that can be toggled between two different contents/styles/commands (used to create a favorite/unfavorite or a play/pause button for example...
Filed under: , , ,

Comments

[Windows 8] Update TextBox’s binding on TextChanged by Benjamin Roux

Since UpdateSourceTrigger is not available in WinRT we cannot update the text’s binding of a TextBox at will (or at least not easily) especially when using MVVM (I surely don’t want to write behind-code to do that in each of my apps !). Since this kind...
Filed under: , , ,

Comments

[Windows 8] Application bar popup button by Benjamin Roux

Here is a small control to create an application bar button which will display a content in a popup when the button is clicked. Visually it gives this So how to create this? First you have to use the AppBarPopupButton control below.   namespace Indeed...
Filed under: , , ,

Comments

[Windows 8] Application bar buttons symbols by Benjamin Roux

During the development of my current Windows 8 application, I wanted to add custom application bar buttons with symbols that were not available in the StandardStyle.xaml file created with the template project. First I tried to Bing some new symbols and...
Filed under: , , ,
2
Comments

[WP7 App] Bixel: Bixi in Montreal by Benjamin Roux

Hello everyone, I just release my first personal WP7 application and it’s called Bixel. Bixel locates the nearest Bixi stations in Montreal. You can add them to your favorites, see the directions and see the number of available docks and bikes. I will...
Filed under: , , ,
3
Comments

[Silverlight] How to watermark a WriteableBitmap with a text by Benjamin Roux

Hello, In my current project, I needed to watermark a WriteableBitmap with a text. As I couldn’t find anything I decided to create a small extension method to do so. public static class WriteableBitmapEx { /// <summary> /// Creates a watermark on...
Filed under: , ,
1
Comments

[WP7] How to decompile WP7 assemblies by Benjamin Roux

The other day I wanted to check the source code of the ScrollViewer of WP7. I started Reflector (profit while its still free) and I opened the System.Windows.dll assembly located at C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight...
1
Comments

[Silverlight] How to choose the webcam resolution by Benjamin Roux

Hello, Today I’m gonna show you how to choose the webcam resolution when using Silverlight. By default most of them are in 640x480 which can be sometimes insufficient. VideoCaptureDevice source = devices.SelectedItem as VideoCaptureDevice; source.DesiredFormat...
Filed under: , ,
4
Comments

[Silverlight] Suggestion – Move INotifyCollectionChanged from System.Windows.dll to System.dll by Benjamin Roux

I just submitted a suggestion on Microsoft Connect to move the INotifyCollectionChanged from System.Windows.dll to System.dll . You can review it here: https://connect.microsoft.com/VisualStudio/feedback/details/560184/move-inotifycollectionchanged-from...
Filed under: , ,
More Posts Next page »