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. […]
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. […]
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 […]