What is so special about ObservableCollection?

by rahul 7/31/2011 10:37:00 PM
Simple answer is… it is just like a regular collection except that it implements a couple of pretty interesting interfaces, INotifyCollectionChanged and INotifyPropertyChanged. Let's dive in. Take a look below.   What is so special about the ObservableCollection then? When would you use ... [More]


Dependency Property explained

by rahul 5/6/2011 10:12:08 PM
The concept of dependency property is fascinating. I have seen a lot of confusion around it, and here is my take on it. Without further ado, let me take you to XAML, and its output. XAML <UserControl x:Class="Dependency_Sample.MainPage" xmlns="http://schemas.microsoft.com/wi... [More]


Create Trial applications for Windows Phone 7 MarketPlace

by rahul 4/12/2011 4:03:45 PM
There are a few ways in which you can easily create Trial applications for Windows Phone 7 marketplace. Here is what I prefer to do it fairly quickly.     Create a new Project or use an existing project. Select Configuration Manager     From the Active Soluti... [More]


A couple of applications for Windows Phone 7

by rahul 3/17/2011 6:15:18 AM
Finally I was able to get Windows Marketplace account. Although the initial experience with the marketplace was a bit "hiccupy", I liked the creation piece of small utilities for my kid, Anika… whom I fondly call nikkul. I have hosted those utilities on Windows Phone 7 Marketplace, and y... [More]


Bind your Silverlight elements to local variables

by rahul 3/1/2011 11:25:32 PM
So you have a XAML page, and in the code behind you have a couple of variables. How do you bind the elements with the local variables?     To begin with, you will need the property with which you can bind the XAML element.     Implement the following inte... [More]


Play multiple sound files in Silverlight for Windows Phone 7

by rahul 2/14/2011 11:10:20 PM
Windows Phone 7 doesn't support multiple MediaElement. In order to play multiple sounds in the same page, you may use the following approach.     Add a reference to Microsoft.Xna.Framework     Add the following using statements… using Microsoft.Xna.F... [More]


Silverlight - How to load and clip an image in code

by rahul 1/31/2011 1:21:08 PM
Let's say you have an image like the following… Fig 1 And you want to clip it using a hexagon [see Fig 2]. Or may be a rectangle with rounded edges. Clipping an image using a Geometry makes it really easy for you. You can use Expression Blend and easily do the clipping. The problem arises if yo... [More]


Future of Silverlight

by rahul 11/14/2010 9:31:31 AM
You’re invited to a very special event on December 2nd, 2010 Learn about the future of Silverlight from Corporate Vice President, Scott Guthrie and other experts, direct from Microsoft’s HQ. Hear about our plans for the next ve... [More]


Did You Know : The difference in a Rectangle with or without a Fill in Silverlight/WPF?

by rahul 10/25/2010 9:34:20 AM
Check out the following XAML and notice the difference in Fill of the following three rectangles. <StackPanel> <Rectangle Stroke="Black" StrokeThickness="3" Width="100" Height="100" Margin="5" MouseL... [More]


Silverlight - Application Structure - 2 - Load assembly on demand

by rahul 10/12/2010 5:55:46 PM
In the previous post, we discussed about how to use Application Library Caching and its benefits. Although it sounds beneficial, you need to keep in mind that the benefits are more from a re-visit perspective. Sometimes, your application will have a bunch of pages, may be nested… and hence you may n... [More]


Rahul Soni

Rahul Soni  Twitter

 LinkedIn

 Facebook

 Email me



Vivek Kumbhar

Vivek Kumbhar  Twitter

 LinkedIn

 Facebook

 Email me


Stack Exchange

profile for Vivek at Server Fault, Q&A for system administrators and IT professionals

profile for Rahul Soni at Stack Overflow, Q&A for professional and enthusiast programmers

Calendar

<<  May 2013  >>
MoTuWeThFrSaSu
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789

View posts in large calendar

All Items
Sign in

Visit Microsoft's Site

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2013, Rahul Soni

Powered by BlogEngine.NET 1.4.5.0