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 »
In this post I am going to discuss about building dynamic query with the LINQ. LINQ to SQL allow user to query data from the database without writing sql queries by writing LINQ queries. LINQ represent each table as one entity and where LINQ queries allows to manipulate data in type safe. But Static LINQ queries not able… Read More »
In this post I am going to discuss about Default extension method(s) which are use full when we query the data form the collection,array or performing operation while code using linq to sql. In .net framework there are number of extension methods which allows perform function on the the collection. But problem arise when we don’t know the… 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 »
In this tips I have discussed about how to get the difference between two table/ entity sets. As for example we want to get rows form table_A which are not exists in table_B. (When table_A primarykey is part of table_B foreignkey). Following is way to get the row(s) form table_A which are not part of table_B In Linq… Read More »