Try to Define Visuals in XAML

Ok, pop-quiz time. Below, you will find two screenshots I took from two different applications: [ Screenshot 1 ] [ Screenshot 2 ] Can you tell what is different between those two images? If you said that the button in the second image seems a few pixels off from the image on the top (or…

6

Working with Layout when DataContexts are Involved

Hi everyone, When using Expression Blend, a common task you probably engage in is working with layout. Tasks I commonly associate with “working with layout” involve moving things around, rearranging the order of elements, ensuring everything flows when resized, changing your layout container, etc. For the most part, the changes you make to the layout…

3

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…

1

Silverlight Control Styling Tips Articles

We’ve published eleven new articles on the blog and they all contain information and tips that you’ll find useful when styling common Silverlight 3 controls. First there’s an article with some general tips: it discusses template binding, different ways of binding Content in your template, some of the smarts in the Make Into Control command,…

7

Keyframe Marquee Selection, and other Timeline Tips

With Blend 3 it’s now possible to draw a marquee (or lasso) around keyframes to select all the keyframes that fall within it. Hold down the CTRL key then drag out a marquee with the mouse pointer as shown below. You can even begin your drag operation when the mouse pointer is over a keyframe…

4

Hatching Effect Shader for both Siverlight and WPF

Hi everyone, As you all may know, both Silverlight 3 and WPF 3.5 SP1 introduced support for effects and shaders. One of the features that I work on in Expression Blend is to make sure that you can use these custom effects easily. Beyond just writing the functionality for making the effects work inside Blend,…

1

Behaviors Under the Hood – API Details and Constraining the Type

Jeff Kelly is back with Part II of his behaviors triple-feature. This time, he focuses on more details and provides some examples of a simple behavior, trigger, and action  – Kirupa Behaviors and triggers are set on objects in XAML via an attached property, Interactions.Behaviors or Interactions.Triggers respectively. When created via XAML, the IAttachedObject interface…

13

An Introduction to Behaviors, Triggers, and Actions

The following post is written by Jeff Kelly, one of the developers who worked extensively on both the behaviors runtime as well as the UI inside Blend that makes behaviors easier to use! In this post, he will provide an overview of the three components that make up what we collectively call “Behaviors” in the…

11

A UserControl base class for Visual State Manager

As you know, Visual State Manager is a Silverlight 2 (and WPF Toolkit) platform feature that makes it easy to define a control’s visual states and to perform the transitions between states. In the case of a templated control (such as Button, CheckBox, etc) you need only fill in the states advertised by the control…

4

Deep Zoom Composer has been Updated: Documentation and Bug Fixes!

Yesterday, we released another update to Deep Zoom Composer, and you can download it from the following location: Download Deep Zoom Composer NOTE: Please uninstall any older versions of Deep Zoom Composer prior to installing this new version. This release was really about fixing the bugs that many of you have found as well as…

12