Recommended

Skip Navigation LinksHome / Search

Search

 
Results Per Page

Found 4 results for TriggerAction.
Date between: <not defined> and <not defined>
Search in: News , Articles , Tips , Shows , Showcase , Books

Order by Publish Date   Ascending Title   Rating  

  • 9 comments  /  posted by  Pencho Popadiyn  on  Aug 19, 2009 (10 months ago)

    1. Introduction

    With the release of the new Silverlight 3, a lot of new cool features have been introduced. One of my favorite definitely is the support of behaviours and triggers. In WPF the triggers are extremely powerful. They allow you to declaratively associate an action with an event or property value. In the previous versions of Silverlight one of the things that were really missing were the triggers and the behaviors. It was not possible, for example, to add mouse-overs to objects declaratively (as in WPF).



  • Control Visibility with Triggers

    0 comments  /  posted by  Silverlight Show  on  Aug 11, 2009 (10 months ago)
    In this post Joel Neubeck shows two custom TargetedTriggerAction’s which allow a developer to easily tie a UIElement’s visibility to an action made on another control.

    This first trigger I very simple.  I wanted the ability to tie a checkbox to the visibility of another UIElement.  Since a checkbox derives from ToggleButton we can get creative and write a single trigger that will work with either a CheckBox, RadioButton or ToggleButton.

  • 0 comments  /  posted by  Silverlight Show  on  Aug 07, 2009 (10 months ago)
    In this blog post Joel Neubeck creates a TargetedTriggerAction which allows you to add the trigger to a button or multiple UIElement and “Target” a panel to be flipped.

    What is really cool about this approach is that each button can contain the logic used to flip the panel (Storyboard direction, duration, etc).

  • 0 comments  /  posted by  Silverlight Show  on  Jul 31, 2009 (10 months ago)
    In this blog post Joel Neubeck is going to create a TriggerAction which makes it incredibly simple to take two UIElements and compose them into a panel which can be flipped.

     I have demonstrated the technique many times, but here it is all packaged up in a nice reusable class.


Help us make SilverlightShow even better and win a free t-shirt. Whether you'd like to suggest a change in the structure, content organization, section layout or any other aspect of SilverlightShow appearance - we'd love to hear from you! Need a material (article, tutorial, or other) on a specific topic? Let us know and SilverlightShow content authors will work to have that prepared for you. (hide this)