15.17. Miscellaneous Enhancements

Silverlight 3.0 has a number of other minor tweaks and enhancements.

15.17.1. Controls

Silverlight 3.0 has more than 60 new controls (many originally part of the Silverlight Toolkit); going through them would require several chapters. However, I will tell you that Silverlight now contains charting, docking, autocomplete, time, accordion, and tree view controls.

15.17.2. ListBox

The Silverlight ListBox control now supports multiselection.

15.17.3. TextBox Cursor Styling

The TextBox caret can now be styled in WPF 4.0 and Silverlight 3.0 with the CaretBrush property. This code example changes the caret to yellow:

<TextBox x:Name="txtValue" Width="400" CaretBrush="Yellow"  Canvas.Top="50">
</TextBox>

15.17.4. ...

Get Introducing .NET 4.0: with Visual Studio 2010 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.