(X) Hide this SilverlightShow next training events: Secure & Personalize Your Silverlight App with WCF RIA Services. May 25th, 10 am PST. Sign up
XNA for Windows Phone 7 - a 3 day training by MCC Peter Kuhn. June 1-3, 9 am - 1.30 pm PST. Sign up early-bird for $199.
Skip Navigation LinksHome / Search

Search

 
Results Per Page

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

Page 
Order by Publish Date   Ascending Title   Rating  

  • Handling WP7 orientation changes via Visual States

    0 comments  /  posted by  Silverlight Show  on  Mar 15, 2011 (2 months ago)

    SilverlightShow Page for all Silverlight and Windows Phone 7 (WP7) things on TwitterAndrás Velvárt has a great post on handling Windows Phone 7 orientation changes with the help of Visual States.

    Source: Dotneteers

    It is pretty well known that an app can be notified of the phone’s orientation changes via the PhoneApplicationFrame.OrientationChanged event. However, if you are as serious about sharing the work between the designer and the developer as I am, you will not be happy with this – the changing of the layout should be the responsibility of the designer, not the developer.

    Of course, the best way to achieve the different layouts is via Visual States.


  • 0 comments  /  posted by  Silverlight Show  on  Feb 21, 2011 (3 months ago)

    SilverlightShow Page for all Silverlight and Windows Phone 7 (WP7) resources on TwitterIn this 12 minute video, Victor Gaudioso shows how to create a Visual State Group with Visual States, how to add a Condition to the GotoStateAction Behavior by making a Data Store and adding a Boolean Property.

    Source: Victor Gaudioso's Silverlight Blog

    Topics covered:
    1. The Visual State Group and Visual States;
    2. The GotoStateAction Behavior to fire a Visual State;
    3. Creating a Condition for the GotoState Action;
    4. Creating a Data Store and adding a Boolean property;
    5. DataBinding the value of the new Boolean property to a TextBlock;
    6. Changing the value of the new Boolean property using the SetDataStoreValue Action Behavior.

  • 0 comments  /  posted by  Silverlight Show  on  Feb 04, 2011 (3 months ago)
    Tags: Attached Behaviors , Visual States , Phil Middlemiss

    SilverlightShow Page for all Silverlight and Windows Phone 7 (WP7) things on TwitterIn this part, Phil Middlemiss takes a look at how to handle browser zoom with visual states.

    Source: Silverlight Scratchpad

    The ability to adjust the magnification level in your browser (using zoom + or -) has the potential to ruin your carefully crafted UI design. In Part 1 we took a look at the mechanisms involved in browser zoom and the effect it can have on your Silverlight app (particularly the EnableAutoZoom setting).

    In this part we are going to handle browser zoom with visual states and use an attached behaviour that allows us to integrate zoom management into our views and control templates from Blend, without having to write any code.
  • 2 comments  /  posted by  Silverlight Show  on  Jan 27, 2011 (4 months ago)

                                                         This article has been deleted on Code Project!

    SilverlightShow Page for all Silverlight and Windows Phone 7 (WP7) things on TwitterGagan Kapoor demonstrates a cool way of handling visual states on xaml.

    Source: The Code Project

    A nice and cleaner way of handling visual states on xaml is setting the states from ViewModel rather than setting Visibility of each control using Binding and then setting binding at viewmodel. Creating visual state groups simplify concept of understanding the UI and gives more flexibility for designers to work on it independently. Below I have designed simple example to demonstrate the concept.
  • 2 comments  /  posted by  Levente Mihály  on  Jan 20, 2011 (4 months ago)

    This article is compatible with the latest version of Silverlight.

    Don't miss...

            

                 Show more books

    This article is Part 1 of “A classic memory game”:

     

    Introduction

    My wife has started learning Silverlight and because of my Expression Blend skills are still lacking, we have decided to build the following classic memory game so both of us can learn something new. We kept things simple but we respected basic Silverlight principles.

  • 0 comments  /  posted by  Timmy Kokke  on  Nov 17, 2010 (6 months ago)

    SilverlightShow Page for all Silverlight and Windows Phone 7 (WP7) things on TwitterTimmy Kokke has posted a tutorial on how to create and use the Visual State Manager in Custom Controls in Silverlight using Visual Studio and Expression Blend.

    Source: Timmy Kokke's Blog

    Visual States are an easy way to change the looks of your controls based on certain states. This state can be something like a mouse hover, some invalid state or any state you need in a control.

  • Smooth Morphing with Transition Effects

    0 comments  /  posted by  Silverlight Show  on  Jul 08, 2010 (10 months ago)
    Kirupa Chinnathambi has posted a tutorial on using transition effects to achieve smooth morphing.

    Ever since wooly mammoths roamed the earth, you have had the ability to move between visual states. Not only could you move between states, you could do it in style by altering the duration and specifying an easing function.
    Starting with Expression Blend 4, the awesomeness of moving between states has been kicked up a few notches with the introduction of transition effects.

  • 1 comments  /  posted by  Silverlight Show  on  Jun 18, 2010 (11 months ago)
    In this post, Antoni Dol experiments with a button to demonstrate how FocusVisualElement can be used. 

    ImageThe FocusVisualElement is the equivalent of the dotted line that you see in Windows interfaces and on browser pages around an object on the page that “has the focus”. This means that it will receive the input a user is giving with a mouse, keyboard or touch. Actually, web designers don’t really like these dotted lines, because they degrade the look of their interface. It may disturb the carefully crafted look and feel of the page. But this FocusVisualElement has a function.

  • 0 comments  /  posted by  Silverlight Show  on  May 31, 2010 (more than a year 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  Oct 22, 2009 (more than a year ago)
    Tags: Storyboard , Visual States , SketchFlow , Expression Blend
    In this article Steve from the Expression Blend and Design team examines Storyboards, Visual States and SketchFlow animations.

    What are these things – are they different ways of doing the same task? When would I use one in preference to another? Do they all work in all project types?

    This post will try to answer those questions by describing the animation and control customization tools that are available to you in Expression Blend 3 + SketchFlow, and discussing what jobs each tool is meant to do. I’ll be classifying project types along two independent axes: WPF or Silverlight, and Blend or SketchFlow.


Page