expression-blend

XAML Controls offsetting themselves, becoming invisible in Blend and browser

I'm having a problem, visible at runtime and in Expression Blend, where the text blocks (not text boxes, buttons, or custom controls) in my layout grid keep pushing themselves outside their cells, rendering them invisible. If I touch any of their properties in Blend (such as incrementing and then decrementing one of the margins), they be...

Is it possible to view effects of data triggers in design in Expression Blend 3?

Blend supports displaying the graphical representation of a style resource, and allows you to select an active property/event trigger to view or modify. However, it's a common occurrence to have visual elements controlled by DataTriggers. Is it possible to tell the designer that it should consider a DataTrigger 'active' so that its visua...

What disables "Run Project" in Expression Blend 3

I am developing a Sketchflow (Silverlight) project in Expression Blend 3. It has been working fine up until today, now I cannot run the project. Specifically in the Project menu the "Run Project" option is now greyed out (all the other options are fine). F5 also doesn't have any effect. I've obviously messed up the code somewhere but I ...

Porting from VS2008 to Blend 3?

(X-posted to silverlight forums) Created a Silverlight class library in Visual Studio 2008. Open it in Blend 3 so that I can edit the visual elements using a nice wysiwyg editor rather than hand hacking the xaml. The library builds in both Blend and VS2008. Apps built using the library build in both, and run properly. Whenever I...

How to display attached properties in Property Browser of blend for silverlight?

I created couple of custom controls and their childresn correctly shows the attached properties in Property Browser for WPF, but in silverlight none of the attached properties appear in Property Brower. How to add design time support for attached properties in silverlight? ...

XamlParseException using Silverlight Toolkit control in Expression Blend

I am having a strange issue opening up my UserControl in Expression Blend when using a Silverlight Toolkit control. My UserControl uses the toolkit's ListBoxDragDropTarget as follows: <controlsToolkit:ListBoxDragDropTarget mswindows:DragDrop.AllowDrop="True" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch"> ...

Expression Blend 3 launch error

I've made a fresh install of Expression Blend 3 on Windows 7 64-Bit Ultimate and every time I create a brand new Silverlight 3 Application + Website project in Expression Blend 3 then try and run it I get the error: Could not start "http://localhost:63523/Default.html" due to the following error: System.ComponentModel.Win32Exception:App...

Expression blend and mock data

I have an Item template and I want to design it, but I can't see what the stuff looks like in blend because I am databinding it to objects that doesn't exist in blend. Is there a way that I can make fake data come up to do this? They are textblocks. ...

Silverlight Datagrid convert AutoGenerated columns to Xaml Columns Collection

Here is my scenario... I am prototyping in SketchFlow so I create an Xml file for my dummy data and then databind that to a data grid. I then want to setup some things like widths and header text instead of using all autogenerated details. So here is the question... Is there an easy way to convert the Autogenerated columns into Xaml so...

Blend "Window is not supported in a WPF Project"

I am having a frustrating time with Blend reporting "Window is not supported in a Windows Presentation Foundation (WPF) project." due to unbuildable configurations but can't quite work out how to mangle my way out of it. I've worked out it is probably due to my trying to have a single solution with x86 and x64 configurations. There is n...

Does sketchflow have a layout container?

All I see as a rectangle. What I'd like to do is have a panel and add controls into it (buttons, textfields, etc.) and then when I move the panel the controls move with it. Any ideas? ...

Sketchflow - activating state on loaded doesn't work?

Hi, I'm trying to activate a state when the screen is loaded but it doesn't work. What I do is, I go to the screen, right click the LayoutRoot and then go "Activate State" and I pick my state. Then when I click on this newly generated [ActivateStateAction] I change the EventName from MouseLeftButtonDown to Loaded. However, it doesn't see...

Is anyone really using ThumbnailAttribute for Toolbox icons?

I was putting finishing touches on a new WPF/Silverlight custom control and decided that this time I would go with .NET 3.5 SP1 requirement (for WPF version). So, I decided to go with recommended new way of setting toolbox icon/image with ThumbnailAttribute. After spending some time on it I couldn't make it work and turned for help to Go...

Expression Blend: Insert a row into a grid at design time

Ok, so I have a grid with lots of controls. And oops, I missed something and need to move everything down one row... type type type My mistake, I needed two rows... type type type Ok, this really sucks. So, how do I insert a row in a way that will move everything down. ...

Server Error in '/' Application. - No Relevant Source Lines .NET FRAMEWORK 4.0

Hi Everybody.. I started a Silverlight project in VS2010 Beta 2. Using parallels on my Mac and I´ve added this to the Web.Config to compile succesfully: <runtime> <loadFromRemoteSources enabled="true"/> </runtime> But the page loads with this Error and I searched a lot without success: Server Error in '/' Application. Configuration...

Master-detail Data Grid in Sketchflow

I have created a simple master-details screen using two DataGrids in SketchFlow, but have been unable to have the child DataGrid update when a row is selected in the master DataGrid. The strange thing is, it works perfectly fine if the child is a ListBox rather than a DataGrid. I have used Blend to create some hierarchical sample data l...

Problem with loading resources from referenced assembly in Expression Blend

I have problem with loading resources for UserControl from referenced assembly in Expression Blend Here is the relevant code: <UserControl.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="pack://application:,,,/Referenced.Assembly;component/Resources/ResourceDic...

Expression Blend 3 Tips and Tricks

I have been using Expression Blend 3 for a few months and am curious to know what are your favorite 'power user' tips and tricks with this development application? ...

How to make autosize text block in Expression Blend 3?

I'm trying to make a textblock control with a fixed size (height and width) in a window using Expression Blend, but the content of the textblock will be changed programatically, so I want the text to be viewed by the largest possible font size without going outside the size of the rectangle. How to do that? ...

What are the differences between the WPF designer in Expression Blend and in Visual Studio (2008)?

This was inspired by a question I asked recently regarding design time behaviour in my WPF app. (http://stackoverflow.com/questions/2290499/cant-databind-at-design-time-in-wpf-using-mvvm-viewmodel-property-never-gets-c) The net result of that is that my design time DataContext/ViewModel works perfectly in Blend, but doesn't show up in V...