This project is read-only.

Feature Overview

Controls

Color Picker

The Color Picker control is a sizable control that allows a user to easily select a color.

ColorPickerExample.png

Live Demo

Gauge Control

The Gauage control is a templatable control that allows a user to select a percentage value by clicking or dragging the mouse along the gauge.

GaugeExample.png

Live Demo

Star Selector Control

The Star Selector control is a templatable control that allows a user to select a rating value by clicking a star on the control.

StarSelectorExample.png

Live Demo

Enhanced Metafile Control

The Enhanced Metafile (EMF) control that allows you to display enhanced metafile images in your Silverlight applications.

EmfExample.png

Live Demo

CoolMenu Control

The CoolMenu control is an ItemsControl that will allow you to display a series of items that enlarge as the mouse moves over each item. When an item is clicked, the item will bounce.

CoolMenuExample.png

Live Demo

GroupBox Control

The GroupBox control will allow you to group elements into an area defined by a border and a caption.

GroupBox.png

Live Demo

Library

Zip Compression

Easily Zip and UnZip files. This is a port of the popular SharpZipLib Library.

Reading a Zip File
ZipFileExample.png

Writing a Zip File
ZipFileExampleWrite.png

Animation Extension Methods

Animate
Quickly animate a value on a property path using the following syntax:

AnimateExtensionMethod.png

AnimateDouble
Quickly animate a double value on a property path using the following syntax:

AnimateDouble.png

Templates and Code Snippets

ReSharper Live Templates

* * Requires ReSharper * *
The ReSharper Live Templates allow you to quickly construct commonly used code segments improving your efficency. To install these templates, open the ReSharper Template Explorer and click the Import button on the Live Templates tab. Then browse to the SilverlightLiveTemplates.xml file located under helpers\ReSharper. You can activate these templates by typing the shortcut. A context menu will appear as you begin to type the shortcut.

ImportLiveTemplates.png

SLDependProp
Generates a dependency property along with the getter/setter wrapper.

SLDependPropChanged
Generates a dependency property along with the getter/setter wrapper and a change callback.

SLDependPropAttached
Generates an attached dependency property along with the appropriate Get and Set methods and a change callback.

SLInlineSBCompletedHandler
Generates an inline event handler delegate for a Storyboard Completed event.

SLRoutedEvent
Generates a RoutedEventHandler and an associated private Raise method for firing the event.

SLVsm
Generates a VisualStateManager block in XAML.

ReSharper File Templates

* * Requires ReSharper * *
The ReSharper File Templates allow you to quickly construct commonly used code file structures improving your efficency. To install these templates, open the ReSharper Template Explorer and click the Import button on the File Templates tab. Then browse to the SilverlightFileTemplates.xml file located under helpers\ReSharper. You can activate these templates by right-clicking in the Solution Explorer and selecting Add->New From Template-> Template Name.

Import File Templates
ImportFileTemplates.png

Using File Templates
FileTemplateUsage.png

Silverlight Value Converter
Generates a template class that implements IValueConverter.

Silverlight Control
Generates a template class that defines a basic Control including the DefaultStyleKey assignment.

Silverlight Panel
Generates a template class that defines a basic Panel control including MeasureOverride and ArrangeOverride methods.

Generic.xaml
Generates a resource dictionary containing a basic style template.

ClientAccessPolicy.xml
Generates a ClientAccessPolicy xml file for enabling cross-domain access.

CrossDomain.xml
Generates a CrossDomain xml file for enabling cross-domain access.

Visual Studio Code Snippets

The Visual Studio Code Snippets allow you to quickly construct commonly used code segments improving your efficency. To install these templates, simply double-click on the Silverlight Snippets.vsi file located under helpers\VS Snippets. You can activate these templates by typing the shortcut and then press <TAB><TAB>.

VSSnippets.png

sldp
Generates a dependency property along with the getter/setter wrapper.

sldpc
Generates a dependency property along with the getter/setter wrapper and a change callback.

sldpa
Generates an attached dependency property along with the appropriate Get and Set methods and a change callback.

slevent
Generates a RoutedEventHandler and an associated private Raise method for firing the event.

slsbc
Generates an inline event handler delegate for a Storyboard Completed event.

slpanel
Generates a template class that defines a basic Panel control including MeasureOverride and ArrangeOverride methods.

slrss
A super basic collection class that loads an RSS feed

slvc
Generates a template class that implements IValueConverter.

Last edited Apr 23, 2009 at 2:46 AM by pbrooks, version 40

Comments

No comments yet.