Tag Archives: SilverLight

How to Create an Attached Properties in WPF

By | October 12, 2013

Well, attached properties, just like normal properties are an object of Dependency Property, but with a very special point embedded into it. Even though the attached properties can only be added to a class which inherits from DependencyObject and also the property where it is attached to should also be a dependency property itself, an Attached property in… Read More »

How to Debug XAML Data Bindings in Silverlight 5 Beta ?

By | April 24, 2011

Recently launched Silverlight 5 beta having nice features of XAML binding debugging. To Start with this, as a  prerequisites makes sure  you have  latest version Silverlight Toolkit SDK with  Visual Studio 2010 SP1 installed. Once you are done with the setup, first create a simple Silverlight 5 Application with which has some XAL Data Binding. Now you can… Read More »

AncestorType in RelativeSource – Silverlight 5

By | April 19, 2011

WPF has a facility to search the AncestorType for a control from a child control such that it will find the next parent control that matches the Ancestor Type defined. Silverlight implements this feature to enable you to search your ancestor from child control from your visual tree and bind the child property with it. Lets take a… Read More »

ComboBox AutoSelection while Typing in Silverlight 5

By | April 15, 2011

Silverlight 5 introduces a new feature for its existing ComboBox to auto – discover items from the list while the user types text. It has a new property called DisplayMemberPath where Text should be placed which needs to be searched. If you have ever worked with ASP.NET, it would be very easy to grab. The DisplayMemberPath will automatically… Read More »