Recommended

  • Silverlight.FX
    Silverlight.FX is a light-weight application framework for building RichInternet Applications with Silverlight 2.
  • Building Modular Silverlight Applications
  • .NET RIAServices - Building Data-Driven Applications with Microsoft Silverlight andMicrosoft ASP.NET
  • Securing Silverlight Application and WCF Service using ASP.Net Authentication Techniques
  • Model– View – ViewModel in Silverlight
Silverlight Hosting
Skip Navigation LinksHome / News / View News

Attaching Silverlight 3 Behaviors in C#

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on Jun 22, 2009
(0 votes)
Nigel Sampson will show you how to attach behaviors and how to manage triggers and actions.

For the most part we'll be adding or manipulating Silverlight / WPF Behaviors from Blend, but occasionally we'll need to manage these from code. Overall it's a pretty simple process. The main class we need to deal with is Microsoft.Expression.Interactivity.Interaction, from here we can retrieve the Behaviors and Triggers collections for a DependencyObject.

Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
 Refresh