expression-blend

Expression Blend 4 accidently deleted App.xaml - now new problems with static main method

Hey. I accidently deleted by App.xaml and App.xaml.cs files in my blend 4 project. So I made a new one successfully - however now when I go to run the app it says : ok done that thanks, now it says Program " does not have a static main method suitable for an entry point. How do I make its main method - where should it exist , and wha...

Microsoft Blend - drawing polygons

Hi I recently downloaded trial version of Microsoft Expression Blend and I can't figure out how I can draw polygons. I only found predefined shapes like pentagon,octagon, triangles but I can't find a tool to draw polygon ...

Expression blend 4 dynamic layout example

Hey! I am trying to play with making my app look better and I found this and was incredibly impressed with the workspace example found here: http://expression.microsoft.com/en-us/ff624123.aspx look at the example with state timeline and props with the workspaces which switch what has focus in the window. The code can be found here : htt...

Expression blend convert example from Silverlight into WPF

Hey! I was looking at a cool layout example in particular the V3FluidLayout.xaml found inside this set of examples : http://gallery.expression.microsoft.com/en-us/DynamicLayoutTrans Anyhow - this appears to be a silverlight app - it runs within a browser. I am trying to pull the V3FluidLayout example into a WPF app - and struggling. I ...

sketchflow navigatetoscreenaction popup

I am using SketchFlow for a prototype. Right now when the user clicks certain 'links' a trigger is excuted which calls navigatetoscreenaction and I supply the target screen. The problem is instead of going to this screen and leaving my main window, I want my target screen to popup into a modal dialog. Can you accomplish this with Sket...

Expression Sketchflow : Is it possible to run full screen? (and without window border?)

Hello everybody, I did some sketchflow prototypes for a client. The client need the application to be "touchable" on a 19" display, so I would like to try to launch the prototypes in full screen on the display (as will the final application be). I searched through the net and found a "solution" : transform my sketchflow project in a ...

DataGrid in SketchFlow Blendability : Please Help

Hi, I am trying to figure out how to show two different states of a datagrid in Blend/SketchFlow on a page. I would like to show the datagrid empty on load of the page and then change it to show results data using databinding with sample data when the Search key is pressed. I have made two copies of the datagrid - one empty and one with ...

Blend Slider Control

Is there a free implementation of the text box in Blend's property grid that allows you to change the number by clicking and dragging? Or perhaps another way to ask is what kind of control called so I can google it? ...

SketchFlow how to set button enabled true/false with behavior

Hi, I was trying to figure out if it is possible to set the Enabled property of a button with a ChangeProperty behavior in SketchFlow/ExpressionBlend. It doesn't appear that the Enabled property is available in the behavior. thanks! Bill ...

Why is the use of Triggers discouraged in Silverlight 4?

The MSDN documentation for Silverlight now states in several places: The entire Triggers syntax is a discouraged technique in Silverlight 4. [1, 2] Expression Blend seems to happily support and encourage their use, though, and there are plenty of blog posts extolling the use of Triggers and Actions without any caveats. What is th...

What is the best easing function to simulate a GUI item dropping?

There are so many easing functions available in Expression Blend, and so many settings on each, it is often hard to know instinctively what easing function to choose. Trying all the options would take quite a long time. In this instance, I want to give the impression that the item has fallen forward and down. I am using a projection rot...

Problems with about box in WPF application

I have tried adding an about box in blend using the method described here: http://stackoverflow.com/questions/3411952/about-window-or-about-box-in-wpf-3-5-vs2008 However, I end up getting an error saying that the namespace System.Windows.Forms doesn't exist. Does blend not support this namespace? if so, is there another method for ...

How to change the appearance of any control when property changes?

I'd like to highlight to the user anything that has been modified, so that they know what they have changed or what has been programatically changed behind the scenes for them. I want to use styles to apply this logic to all my controls, but i'm not sure how. I know I need to create a trigger but not sure what to trigger on exactly or h...

How can I use external images in Silverlight and still view them at Design time?

In order to minimize the size of my XAPs, I want to move my images from being embedded in the project to an external directory, possibly ClientBin/SilverlightImages. I know that I can use a URI and point to this directory like so: , but Blend and the Visual Studio 2010 designer do not show the image. One suggestion from a co-worker is t...

Set layout to have 100% width and 100% height

How can I set a layout to have 100% width and 100% height? I want my Silverlight application to stretch in the browser to fill all space. I am using Expression Blend 4. Here is my XAML: <UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:C...

Referencing enum defined in a class from within XAML

In Expression Blend 4 (Silverlight project) I have a UserControl to which I have added a CLR property. This property is an enum type, which is defined within the UC. I have attached a ChangePropertyAction behaviour to an instance of the UC. However, the XAML parser gives the following error (among others): '+' is not valid in a name ...

How to make a navigation in Expression Blend 4?

So I created a layout in Expression Blend 4 for my Silverlight application. Now I need to create a simple navigation to navigate between pages. I have a canvas control in the layout (MainPage.xaml) and I would like the navigation buttons to just change the content of the canvas. So if a user clicks on a navigation button for Page1.xaml,...

Expression Blend 4 on Windows Phone 7: Difficulty with scrolling

I'm using Expression Blend 4 to prototype a Windows Phone 7 app. I have a page that is supposed to display a news story. I'm having difficulty getting it to scroll down all the way in the emulator. I can only scroll the see some of the text box. Sometimes, when I make the ScrollViewer taller, I can actually scroll less in the emulator. ...

Silverlight / Expression: XAML build error

I'm getting the following errors: obj\Debug\StoryList.g.cs(40,22): error CS0102: The type 'Newsreader.StoryList' already contains a definition for '_contentLoaded' obj\Debug\StoryList.g.cs(46,21): error CS0111: Type 'Newsreader.StoryList' already defines a member called 'InitializeComponent' with the same param...

Multi level grid in Expression Blend

I have been playing with Expressions Blend 4 for the past few days, and I'm starting to get a hang of it. I just recently started playing with the Data binding and find it really easy and powerful. For prototyping purposes, there is no better application. I'm currently prototyping a Silverlight screen with a potential multi-level grid. ...