blend

Is knowing blend required?

Do you expect your WPF developers to know expression blend? Any good resources for learning more about Blend? [UPDATE] Does knowing blend make you more productive? ...

How do I stop Blend 2.5 June Preview replacing Canvas.ZIndex with Panel.ZIndex on SL1.0 XAML?

I have a Silverlight 1.0 application that I edit with Blend 2.5. Whenever I touch a UIElement in the designer that has a Canvas attribute such as Canvas.ZIndex="1", when it updates the XAML, it changes the Canvas prefix to Panel, leaving Panel.ZIndex="1", causing the page to fail to load. How do I make it stop the insanity!?! I have u...

Expression Blend 2 Issue with Creating Silverlight 2 Projects?

I have Expression Blend 2, Service Pack 1, and cannot create a Silverlight 2 project. When I attempt to create a Silverlight 2 project, I get the following error: Blend cannot continue because a compatible Silverlight version could not be found. I installed Blend a few weeks ago, and service packed it yesterday. The order I did thi...

Design-time rendering of Silverlight controls in Expression Blend 2

I'm working on some Silverlight controls and I would like to explicitly handle the way they appear in Blend. Specifically, these controls have dependencies that are initialized at runtime, and thus throw exceptions in the designer. But even in the absence of the exception, I would like to make them appear a certain way in Blend. I know ...

Changing the StartPoint/EndPoint of a LinearGradient brush in Expression Blend UI

Seems like as really simple thing to do, but I just can't track it down in the help or online. I know how to change the XAML to set the StartPoint and EndPoint of a LinearGradient brush, but I don't know how you do it using the IDE in Expression Blend - does anyone know the keyboard/mouse actions that you use to do this? ...

What is the best practice for creating RE-USABLE control templates in Silverlight.

What is the best practice for creating re-usable control templates. For example. I want to start with the standard checkbox and modify its template for re-use accross multiple future projects. I understand how to modify the template in Blend, but it always wants to save the template to App.xaml of the current project or to the parent...

How do you export from Expression Design to Silverlight XAML and retain vector relativity?

I am trying to export some prepared assets out of Expression Design 2 and into .XAML, with a final destination of Blend 2 for layout, but I cannot find a reliable way to keep the ability to resize those assets when they reach Blend. Taking a look at the exported final product, the XAML produced is wrapped in a Canvas (whether or not I se...

Is there some way I can make blend reload a project which has been modified in Visual Studio?

I have a Visual Studio solution which is open in both blend 2 SP1 and VS2008 SP1 simultaneously. If I make changes in VS, then switch over to blend, it notices that the project has changed and reloads things, however this is really unreliable. Sometimes it doesn't notice changes, and sometimes it does notice changes, but doesn't reload ...

Why are XAML resources unlike CSS styles?

In Expression Blend you can create a font-size of say 18 and then create a "font-size resource". Coming at this from HTML/CSS, I cannot think of when I would want to make a style for a "font-size" and one for a "font-style" and one for a "font-weight". Instead I want to make a font called "CompanyHeader" and have 10 different attributes...

MVVM + Datacontext + DataTemplate + Blend = problems

Hi All, I'm currently using MVVM in a WPF project, all works very well. I have one Master view and many Detail views that I manage using a currentView property in my MasterViewModel. By using a datatemplate, I bind a view to a viewmodel. In fact, my master view has a contentcontrol whose content property is binded to my CurrentView prop...

Why does my colored cube not work with GL_BLEND?

My cube isn't rendering as expected when I use GL_BLEND. glEnable(GL_CULL_FACE); glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE); I'm also having a similar problem with drawing some semi-opaque vertices in front, which could well be related. Related: Why do my semi-opaque vertices make background objects brighter in OpenGL? ...

Any good Expression Blend Tutorial out there??

Hi, i want to learn Expression blend.. ive been reading some blogs.. about it.. but the applications are some what hard to follow cuse i haven't had a crash course on Blend.. any good tutorial to learn the basics?? i think i need to learn XAML first..what do you recommend? ...

Silverlight DataBinding Against CLR Objects in Blend

I love the feature in Blend where you can setup databinding to CLR Objects, and design your Silverlight control/page. My issue is around the creation of a user control that will be used as a DataTemplate. It all works great in Blend, but only at design time. The issue is that when I am editing the control in Blend, and I bind say a textb...

Silverlight button style

I am trying out new styles with silverlight, and I created a new button skin with blend that consists of a border and a textblock. Wondered if there is a way to change the the text of the textblock when the the button's content(text) property is changed. ...

Checking image feature alignment

Hi guys, I have written my own software in C# for performing microscopy imaging. See this screenshot. The images that can be seen there are of the same sample but recorded through physically different detectors. It s crucial for my experiments that these images be exactly aligned. I thought the easiest would be to somehow blend/substr...

Self Centering Page in Silverlight \ Express Blend

I have been trying hours to create a page (Axml) in expression blend that stays in the center of the browser yet equally reduces the white space on either side when the browser window is resized. And example is this site or most decent site on the net. Love a code example or link. Thanks ...

How to Customize Animation in Blend?

I'm developing a small application using Blend, basically what I have in my application are two list views, lets call them List View A and List View B. List View A represent the files in my computer that I want to sent to the server and List View B represent the files that are in the server. What I want to do is to create a transition ...

Blend 3 - Canvas Resize

Hi ppl.. I'm using Blend 3 for a SILVERLIGHT APP. How can I use a Canvas to resize automatically and adapted to the browser (100% width and height).. I think it could be done using C# because I want to have the objects inside to move freely around the browser, but don't know howto... Help would be appreciated! snippet XAML: <Grid x:Na...

Expression Blend 3 TFS referesh problem

When I checkout, checkin, rename soemthing in Vs 2008 SP1 while I have the project open in Expression Blend 3, these changes are not updated in Blend until I close and reopen the solution in blend or I try to checkout/checkin an item that is aready checked out. Is this a known bug? And is there a workaround? ...

How can I create a Mouse Hover State on Silverlight for a Stack Panel?

Hi There, I am trying to create a mouse hover state which it changes its opacity when a mouse is over the stack panel. I have created the state, and created a mouse_enter event for the stack panel, and on the code behind cs file, I have the following code on Mouse_Enter event. MouseOver.Begin(); Where MouseOver is the StoryBoard's na...