blend

Custom XmlnsDefinition with Blend

In my project, I have an assembly that defines a set of WPF controls. I want to be able to use them without referencing explicitly the assembly in the XAML code. That's why I'm using custom XmlnsDefinition: [assembly: XmlnsDefinition( "http://schemas.microsoft.com/winfx/2006/xaml/presentation", "MyProject.Common.WpfLibrary.Marku...

How to blend color of two sprites with constant alpha in DirectX?

Essentially, what I want to do (in DirectX) is to take two partially-transparent images and blend them together. This works fine with default blending, insofar as they both show up as overlapping, etc. However, the problem is that the opacity goes up markedly where the two intersect. This causes increasing problems as more sprites ove...

providing designtime ViewModel data for Blend and VS

In a MVVM based application, what options do I have to provide ViewModel data at design time, so our designers can actually see something in Blend3 (and VS 2008). How are you doing this? Can I utilize mc:ignorable for this somehow? ...

Blend 3 in design time can't find my converters/Resources .(WPF)

Hi all I'm having troubles using Blend with my visual studio solution. In Runtime, and compile time everything is just fine. As you can see in the picture, Blend urges me to Build the project, but it does not change the situation, even after a successful build, rebuild, clean & build, it is still the same, the UI is blocked from the d...

Are Expression Blend design-time specific visuals possible?

I'm trying to design some UserControl classes in Blend 3. I want parts of them to be "collapsed" when created at runtime, but I want to be able to edit their component parts without fiddling with code every time I want to build. It works with sample datasources, as the following example illustrates. But it doesn't appear to work with ot...

Color Interpolation

Okay, so I'm looking at a typical color chooser and it looks something like this: If we deal with only highly saturated colors, the blending pattern behaves like this: R 255 G 0 B 0 R 255 G 0 -> 255 B 0 R 255 G 255 B 0 R 255 -> 0 G 255 B 0 R 0 G 255 B 0 R 0 G 255 B 0 -> 255 R 0 G 255 B 255 R 0 G 255 -> 0 B 255 ...

What is the best way for non-developers to create XAML Grids?

We need to have non-developers create dozens of input forms with XAML. The best solution I found was the free XAML Power Toys since you can create and edit grids visually, also create from classes. I took a look at Blend 3 quickly, dragged a Grid into my Window but found no options to actually create, say, a 4 x 10 grid with labels. I ...

Microsoft Expression Blend (silverlight): repeating header?

Hi I'm using the new microsoft expression. I'm trying to create a repeating header much like this one at http://csstreacle.artygirl.co.uk/. Is there a way I can do this in Expression blend. How do I organize the containers? And how do I set it to repeat in code or manually? Any ideas would be really helpful :) I have a rectangle with ...

DesignTime data not showing in Blend when bound against CollectionViewSource

I have a datatemplate for a viewmodel where an itemscontrol is bound against a CollectionViewSource (to enable sorting in xaml). <DataTemplate x:Key="equipmentDataTemplate"> <Viewbox> <Viewbox.Resources> <CollectionViewSource x:Key="viewSource" Source="{Binding Modules}"> <CollectionViewSource.Sor...

Expression blend (silverlight) using behaviors for header tabs? Fluid move behavior?

Hi I'm trying to create a menu in my header. I have imported my design from photoshop into expression blend and the layout works wonderfully. Now I want to add some effects and links to my objects. I understand I have to make this into a usercontrol tab. I'd like a white tab behind the menu text to move horizontal like an animation wh...

Expression blend tutorials?

Hi Can anyone suggest the best video tutorials for learning expression blend? Thanks Judi ...

Animate Margin Change in Silverlight

Hello, I am animating a border resize in Silverlight however I also need to gradually remove the margin around it (currently 50). Blend doesn't seem to generate a tween for margin change - it just jumps from 50 to 0 in one go. Is there a way to achieve this? ...

Expression blend click event animation

Hi I'm a newbie at expression blend. I've created a button and added a storyboard animation within it. I've also added a hyperlink behavior. The link works but nothing happens when I hover over it to reveal the animation. Are there any tutorials on how to link hyperlinks with animations? Any ideas would be much appreciated :) Thanks ...

Creating a hyperlink in Expression blend

Hi, I'm trying to create a hyperlink colour change in Expression blend. Is this done using behaviors or is it a styling technique. I'm very new to Expression blend to don't fully understand where things are and the process. Thanks Judi ...

How to make Visual Studio 2008 to load dynamically generated testpage from http://localhost/

Hi, I'm developing a small web application using Microsoft Silverlight 3. I'm using Microsoft Expressin Blend 3 for UI development and Visual Studio 2008 for "code-behind". When debugging the project from Blen 3, it all works well. The Silverlight is automatically embedded into an TestPage and loaded from http://localhost/TestPage....

Expression blend 3 Sliding content?

Hi I'm trying to create an effect whereby when I click an arrow my content slides to the left and dissapears thus leaving an new set of content in its place. Much like the way wp-coda works http://wordpress.bustatheme.com/coda/, but i wan to do this in expression blend which uses silverlight. Thanks Judi ...

Expression blend photoshop effects

Hi I'm new to using blend, I've discovered when I import my photoshop file blend takes my effects away. Can anyone tell me why blend doesn't recognize my effects? Thanks Judi ...

Why the leading "#FF" in hexadecimal color values?

I'm using Expression Blend 3 and writing some of the XAML by hand, specifically the color values of controls. I have a list of RGB colors already converted to hexadecimal. I just need to insert the hex value into my XAML. Initially, I pasted the hex value from an email into the appropriate properties. Before I could finish, Blend start...

How do I import behaviors into Expression Blend?

I'm trying to import behaviors in to blend, can anyone help me? I'm a designer not a coder so would like to know the easy import rout for this in Blend? ...

Expression blend slide effect? (silverlight slideshow)

Hi I'm trying to create a slider effect with images an text within it, much like http://www.silverlightshow.net/items/Image-slider-control-in-Silverlight-1.1.aspx I'm a designer so would prefer to use Blend entirely rather than dip into any of the code. Would be great if there is some sort of behavior for this? I'm currently using t...