Tag Archives: Silverlight 5 Beta

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 »

Binding in Style Setters – SilverLight 5 Beta

By | April 14, 2011

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 »

Implicit DataTemplates for Control in Silverlight 5 Beta

By | April 14, 2011

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 »