Silverlight examples (example source code) Organized by topic






Containers /

Canvas 21Grid 43
Margin 4Padding 1
Resources 20ScrollViewer 6
StackPanel 15UserControl 1
ZIndex 4

UI Controls /

Border 7Button 26
Calendar 4CheckBox 7
ComboBox 3ContentControl 3
ControlTemplate 4Cursor 1
DataGrid 6DatePicker 2
FrameworkElement 2HeaderedItemsControl 1
HyperlinkButton 3ItemsControl 1
ItemTemplate 1ListBox 6
ListBoxItem 5MediaElement 24
OpenFileDialog 2PasswordBox 5
Popup 4ProgressBar 8
RadioButton 10RepeatButton 1
Run 3ScrollBar 2
Slider 7TabControl 2
Template 4TextBlock 48
TextBox 18Thumb 1
ToggleButton 1Tooltip 2
TreeView 1Video 4

Graphics /

Clip 3Color 24
Font 10Full Screen 3
GradientStopCollection 1Image Clip 3
Image 30ImageBrush 10
LinearGradientBrush 17MatrixTransform 1
MultiScaleImage 1Opacity 3
RadialGradientBrush 12RotateTransform 5
ScaleTransform 11SkewTransform 8
SolidColorBrush 7Stretch 4
StrokeDashArray 13StrokeLineJoin 8
Styles 2Transform 6
TranslateTransform 8Vector 4
VideoBrush 3

Shapes /

ArcSegment 10BezierSegment 4
Curve 11Ellipse 11
EllipseGeometry 4GeometryGroup 7
Line 9LineGeometry 4
Path 26PathFigure 3
PathGeometry 2PolyBezierSegment 2
Polygon 20Polyline 20
Rectangle 27RectangleGeometry 8
Rounded Rectangle 4Stroke 7

Animations /

Animations 31Ball 5
Color 9DiscreteDoubleKeyFrame 4
DoubleAnimation 9DoubleAnimationUsingKeyFrames 4
Frame 4PointAnimation 4
SplineDoubleKeyFrame 1SplineKeyframe 1
Storyboard 13

Communication /

HtmlElement 1HtmlPage 2
HtmlWindow 1HttpWebRequest 2
Javascript Integration 10JavaScript 2
Json 1REST Service 1
Sockets 1WebClient 7

Data /

BackgroundWorker 2Data Binding 13
DataTemplate 2Exception 5
File 2INotifyPropertyChanged 1
IsolatedStorage 10IValueConverter 3
Policy 4Sound 1
Thread 9XAML 16
Xml Data 4

Events /

Event 7Key Event 2
Mouse 7RoutedEventHandler 1