Skip Navigation LinksHome / Search


Results Per Page

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

  • 1
  • 2
  • 3
  • ...
  • 11
Order by Publish Date   Ascending Title   Rating  

  • Windows Phone 7 multitouch behavior: beta testers needed

    0 comments  /  posted by  Silverlight Show  on  Jun 21, 2010 (2 days ago)
    Laurent Bugnion has just finished implementing version 0.1/beta1 of a multitouch behavior for Windows Phone 7 and needs beta testers.

    Multitouch in Windows Phone 7 is not super hard, but there are a few things that need to be taken in account (such as the orientation of the device). In addition, it is very easy to get unwanted effects on a small screen (for example that the element becomes too big/too small). Also, in some cases the proportionality should be kept for a scaled element. The multitouch behavior encapsulates all these concerns and expose a set of easy-to-understand properties to govern its usage. These properties can be databound, so you can even change their value during runtime.

  • Great Features for MVVM Friendly Objects Part 1 - Introducing Property Change Behaviors

    0 comments  /  posted by  Silverlight Show  on  Jun 21, 2010 (2 days ago)
    In the next article in this series about useful MVVM friendly features, Damon Payne introduces the idea of Property Change Behaviors. If you have missed the introduction part here it is: Great Features for MVVM Friendly Objects Part 0: Favor Composition Over Inheritance.

    So, we’ve created some basic functionality for iterating through an ordered list of interesting actions whenever a property value changes.  Based on the logic inside BindableType, if the property values are equal we would stop processing subsequent Property Change Behaviors for this instance by returning false from NotifyPropertyBehavior.

    In the next article we’ll start adding more useful and interesting features using the IPropertyChangedBehavior approach.

  • 0 comments  /  posted by  Silverlight Show  on  Jun 18, 2010 (5 days ago)
    Tags: Zoom , Behaviors , Popups , Silverlight 4 , David Anson
    David Anson revisits his previous post about creating a full-size Popup in Silverlight and is pleased to report that Silverlight 4 does not have the troublesome hooking Resized disabled browser zoom behavior any more.

    Consequently, projects targeting Silverlight 4 are free to hook the Resized event without worrying that their browser zoom behavior will be compromised. Yay!

  • Debugging the TranslateZoomRotate WPF Behavior in Blend

    0 comments  /  posted by  Silverlight Show  on  Jun 17, 2010 (6 days ago)
    In this post, Adam Kinney discusses a bug reported about the WPF TranslateZoomRotate behavior.

    This question on Stack Overflow referring to an error when using the new WPF behavior TranslateZoomRotate.

    First of all, its nice to see the new behavior included with Expression Blend 4 in use.  

    The TranslateZoomRotate behavior provides support for gesture-based rotating, scaling and position translation just by dropping the behavior onto an element.

  • Slide3DToMouse

    0 comments  /  posted by  Silverlight Show  on  Jun 15, 2010 (1 week ago)
    Tags: Behaviors , 3D , Jose Luis Latorre Millas
    In this post, Jose Luis Latorre Millas demonstrates a behavior called Slide3DToMouse which is designed to be used together with the Project3DToMouse behavior.

    In this case the effect provided is a “companion effect” for the Project 3D to Mouse, this, enables us to slide horizontally and vertically a FrameworkElement regarding the calculated X & Y Angle variation based in a determined X & Y axis amplitude. Simply said moves a UIElement accordingly to how is it turning towards the mouse using the other effect.

  • 0 comments  /  posted by  Jose Luis Latorre Millas  on  Jun 07, 2010 (2 weeks ago)
    Check this new behavior recently published with full source code at the Microsoft Expression Blend Behavior's gallery. It allows us to bind the mouse movement to a plane projection of a FrameworkElement without any line of code.
    Get it here and learn a bit more about it here: 

  • 0 comments  /  posted by  Silverlight Show  on  Jun 02, 2010 (3 weeks ago)
    In this episode of Silverlight TV, Adam Kinney demonstrates how to take advantage of behaviors in Expression Blend 4.

    He creates several demonstrations using the new DataStore and conditional behavior features in concert with several new behaviors including ChangePropertyAction, ControlStoryBoardAction, SetDataStoreValueAction, and the custom Mouse3DBehavior. Adam also shows how to create a custom behavior using code. Don't miss this episode as Adam discusses how behaviors can make the UI developer's job much easier.

  • 0 comments  /  posted by  Silverlight Show  on  May 31, 2010 (3 weeks ago)
    Ian Lackey has created some behaviors that accept a list of roles and update the UI accordingly.

    Well working on a few WCF RIA Services projects a need for the UI to update based on what roles the current user belongs to came up with each project. To make this easier for all of us working on these projects I created some behaviors that accepts a list of roles and updates the UI accordingly. I decided to include this in an open source library that is available at the associated OpenLight Group Common CodePlex project site. In this article we will discuss the base class used for all of the role based behaviors and look at the RoleBasedEnabledBehavior as an example of how to implement the base class.

  • 0 comments  /  posted by  Silverlight Show  on  May 31, 2010 (3 weeks ago)
    Alan Beasley had a problem with showing and hiding a visual element on the Phone touch interface and when he finally found the solution, he decided to share it with you.

    Basically if you have situation where you need to either show or hide a visual element, you need to know what State you are in. As you can’t attach 2 different Triggers (Behaviours) to the same element, & expect to activate/fire them in an alternating manner with the same action (i.e. a mouse click). Blend will only ever fire one & continue to fire the same one. (The closest in the Z order i presume…) And my first thought was, that i needed some code to determine what state I was in. But you don’t!

  • 0 comments  /  posted by  Silverlight Show  on  May 26, 2010 (4 weeks ago)
    Take a look at this article posted at the Expression Blend and Design blog in which Kirupa Chinnathambi talks about the ControlStoryboardAction and the StoryboardCompletedTrigger.

    Storyboards are one of the primary ways you create animations in Silverlight, WPF, and Windows Phone using Expression Blend. Creating a storyboard is fairly easy, but actually using a storyboard such as having it play is not. To help with this, you have the ControlStoryboardAction.

  • 1
  • 2
  • 3
  • ...
  • 11
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)