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 »
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 »
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 »
One of the interesting control that was introduced with Silverlight 5 is the RichTextBoxOverflow control. This control will show up the portion of the RichTextbox which is overflown to it. A special property called OverflowContentTarget is added to the RichTextBox control to specify the Overflow control.
Silverlight 5 introduces Binding in style Setters. Hence you can use Binding, StaticResource or any markup extension inside the style Setters. Let you have a class that defines your resource based on some custom logic : Now from your style setters you can easily point to the class to get the value of the Thickness. In the code,… Read More »
As this is a new features if Silverlight 5 beta, you need below prerequisite To try the features You first need to download Visual Studio 2010 (SP 1) if you didn’t have done that already. After you install Visual studio update you need Silverlight tools for Visual Studio Optionally you can also try Silverlight help tools to get… Read More »