John Stagich's Blog

Microsoft .Net Developer

Silverlight 3 FireStarter

clock September 18, 2009 12:56 by author johnstagich

Yesterday, I watch quite a bit of the Microsoft Silverlight 3 FireStarter Event.  The videos for this event should be available shortly, but for the time being; here is a link to the slides. 

Presenters included : 

  • Scott Guthrie (Key Note)
  • Tim Heuer (Top Features and Scenarios)
  • Adam Kinney (Expression Blend)
  • Janete Perez (SketchFlow)
  • Marco Matos (Toolkit and Controls)
  • Brad Abrams (Silverlight Example with RIA Services)  Excellent!
  • Karl Shifflett (XAML Power Toys 5 [will be available this Sunday at 7:00 p.m. PST,  go to Karl's blog])  

Some good links:  



Expression Blend: How to add behavior from Microsoft Expression Gallery

clock September 12, 2009 12:11 by author johnstagich

I was working with SketchFlow in Microsoft Exression Blend.  There was a DragDropItem behavior that I wanted to add to my behaviors.  From the Microsoft Expression Blend Help, here is how you go about adding a behavior created by someone else.  Here the link to the information.

To add interactivity to your application without having to write code, you can drag a behavior from the Assets panel onto an object in your application and then set the properties of the behavior. You can also use behaviors that are created by people in the Microsoft Expression Blend community. For example, you can download custom behaviors from the Microsoft Expression Gallery. If you want to use a behavior that was created by someone else, add a reference to the .dll file or project that contains the behavior. This will make the behavior available in the Assets panel.

Note:

Developers can use the new Expression Blend Software Development Kit (SDK) to create custom behaviors. To view the SDK documentation, click Expression Blend SDK User Guide on the Help menu.

To add a behavior that was created by someone else

  1. Add a reference to the .dll file or project that contains the custom behavior.   From the Project Window, right mouse click on the Project to get the project menu, click Add Reference... to add an assembly (.dll or .exe) to your project.

  2. Build your project (CTRL+SHIFT+B or F5).

  3. Open the Assets panel to view the custom behavior in the Behaviors category.

    You can now drag the behavior onto objects in your application.

     

To make a custom behavior always show up in the Assets panel

If you download an assembly that contains multiple behaviors that you think you will use frequently, you can register the assembly to make the behaviors available to any project you create without having to add a reference.

  1. Do one of the following (Note: the documentation registry path says HKEY_CURRENT_USER\Software\...,  I found it in HKEY_LOCAL_MACHINE\Software... [I am running on Vista]): 

    • For a behavior that is written for Microsoft Silverlight, create a registry subkey in \HKEY_CURRENT_USER\Software\Microsoft\Expression\Blend\v3.0\Toolbox\Silverlight\v3.0 that is named the same as the assembly namespace.

    • For a behavior that is written for Windows Presentation Foundation (WPF), create a registry subkey in \HKEY_CURRENT_USER\Software\Microsoft\Expression\Blend\v3.0\Toolbox\WPF\v3.0 that is named the same as the assembly namespace.

  2. In the subkey, create a default string value and set it to the path of your assembly.



September 2009 Quick Hits

clock September 8, 2009 08:23 by author johnstagich
  • Frank La Vigne has a great link to learning SketchFlow in Microsoft Expresssion Blend.  The tutorial is comprised of videos, documentation, and code.

  • When working with Microsoft Blend 3.0/SketchFlow, the Assests->Styles->SketchStyles were missing.  Here is a link to the fix.  Go to Chuck Hays entry on July 22, 2009.  I had to add two entries into the registry.

  • From Joe Stagner's blog, Telerik has introducted two FREE Team Foundation Server (TFS) contrls.  They are TFS Work Item Manager and TFS project dashboard.  Here is the Telerik link.

  • Microsoft Web Platform "offers a complete ecosystem for building and hosting web sites, services, and applications."  Note: When installing the Silverlight 3 Tools, close the rest of your applications.

  • Here is a great site for Cheat Sheets for Developers.  It is called Refcardz DZone.


About the author

I am the owner of Stagich Software Consulting.  Stagich Software Consulting specializes in developing Microsoft .Net/Microsoft SQL software applications.

 

Calendar

<<  July 2014  >>
MoTuWeThFrSaSu
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910

View posts in large calendar

Month List

Category list

None

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

Sign In