Silverlight examples (example source code) Organized by topic





Containers /

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

UI Controls /

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

Graphics /

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

Shapes /

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

Animations /

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

Communication /

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

Data /

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

Events /

Event 7Key Event 2Mouse 7RoutedEventHandler 1