in part 2, we take the same xaml, but this time compile it into a managed assembly for consumption in a silverlight 1.1 application. the result is that we now have a modular approach to reusable components in silverlight and the user control in managed code also affords us familiar implementation style similar to asp.net user control syntax. rather than only relying on code, we can implement the control directly in the xaml using syntax like <mynamespace:mycontrol />.
the code for part 2 is found here: Screencast.SilverlightControls.zip. as always, feedback and more suggestions for future screencasts are appreciated!
UPDATE: okay, so i dug a little deeper, it looks like these are implementing on a windows form host, so your mileage may vary. getting interaction with other silverlight DOM/canvas objects might be tricky...
well, i have to admit that i only spent about the last 2 minutes looking at these, so this might be an irresponsible post :-), but what i saw was impressive.
netikatech just announced on their site that they are releasing 40 controls for silverlight for free! the product, called "GOA Winforms" describes itself as an implementation of the standard System.Windows.Form class library for rich internet controls...these controls include:
- Control, ContainerControl, ScrollableControl, Panel
- Button, CheckBox, RadioButton, GroupBox, Label
- TextBox, NumericUpDown
- ImageBox, ImageList
- ScrollBar, HScrollBar, VScrollBar
- Form, MessageBox, Cursor
- ListBox, CheckedListBox
- TabControl, Splitter
- ToolTip, ProgressBar, Timer
- ToolStrip, StatusStrip, MenuStrip, ToolStripButton, ToolStripComboBox, ToolStripDropDown, ToolStripLabel, ToolStripProgressBar, ToolStripSeparator, ToolStripSplitButton, ToolStripTextBox
- XamlCanvas (Silverlight specific)
i'm in the process of installing right now (you must have visual studio 2008 beta 1 to install :-( ), but you can get them by downloading here.