You probably noticed ScottGu's post on Silverlight 2 Beta 1. Great stuff and all packed in just 4.3Mb which is absolutely mind-dazzling. But did you happen to get a glimpse of the more extensive list of supported controls? Shawn Burke posted a complete screen shot of it (only partially visible in ScottGu's posting).
UPDATE: lol, it seems that Shawn overstepped his bounds since the screen shot has been removed from his blog post. Luckily I kept a copy of it.
Below a hierarchical structure of the controls of Silverlight 2 I inferred by combining the current Silverlight 1.1, WPF and the bits of information on 2 Beta 1 now available. The green elements are new in Silverlight 2. Please note that this information might not be that accurate.
- FrameworkElement
- Control
- Calendar
- ContentControl
- ButtonBase
- Button
- RepeatButton
- ToggleButton
- ScrollViewer
- ToolTip
- UserControl
- DataGrid
- DatePicker
- GridSplitter
- ListBox
- ScrollBar
- Slider
- TextBox
- Decorator (?)
- Glyphs
- MediaBase
- Image
- BitmapImage
- MultiScaleImage
- MediaElement
- Panel
- Shape
- Ellipse
- Line
- Path
- Polygon
- Polyline
- Rectangle
- TextBlock
Some observations:
- Controls that seems to be not available in Silverlight 2: ComboBox, ContextMenu, Menu, PasswordBox, ProgressBar, RichTextBox, TabControl and TreeView. It seems that all popup related controls (except for the ToolTip) are not there. Some of these missing controls can be easily constructed based on other controls, some might not be available at all (but then again, I might be wrong. Time will tell).
- Apart from the OpenFileDialog, there is no implicit support for dialogs. As ScottGu suggests, you need to provide your own dialog implementation.
- No FlowLayoutPanel. The current TextBlock in Silverlight 1.1 Alpha implements a flow layout for it's inline elements. I wonder what's left of it and how it relates to those Panel controls.