expression-blend

how to compile an expression blend solution in visual studio

好久不见. 提交于 2019-12-25 12:46:16
问题 weWithin our development environment we have VS2010 installed on my computer along with Expresison blend and silverlight4 tools. We have a separate build box where we compile and build the entire project. When running through the precompile I am receiving errors that references to the expression blend namespaces cannot be found. I assume this is due to the fact that expresison blend is not installed on the build box. What is the best practice to prevent this from happening in the future? One

Generating complex paths in expression blend

谁说我不能喝 提交于 2019-12-25 03:53:19
问题 I've noticed a lot of applications have complex Path data that draw everything from images to text. Are these drawn directly with the pen tool or is there an easier way to draw these complex paths? 回答1: You can draw them with the Pen tool, however, there are "better" ways (for some definitions of better). You can use the Expression Design product to create source art and bring that into Blend. You can also use either Adobe Illustrator or Adobe Photoshop to create your art and then import that

Expression Blend Forcing User Controls to be hidden

佐手、 提交于 2019-12-25 03:46:07
问题 So I have been working on a project using C Sharp and WPF for a while now, and now recently several of my user controls are hidden in Expression Blend. I tried show all, setting visibility to Visible in the gui, cleaning the project build, rebuilding, restarting, etc... nothing seems to work. As you can imagine, this is very frustrating, and any help would be greatly appreciated, thank you. 回答1: Figured out a way around it. The problem is somehow related to the fact that I have several

Strategy to diagnose Expression Blend 2 failure to open Window

有些话、适合烂在心里 提交于 2019-12-24 08:37:39
问题 I have a project with many WPF Windows. 1 particular Window doesn't open in Expression Blend 2. I would like to know what strategies i can use to diagnose and avoid the problem in future. Most of the time, Blend 2 will display a window with an exception. I would then fix the problem causing that exception. However, this time, this is the exception i get. Exception: Cannot create an instance of System.Windows.Window. StackTrace: Empty InnerException: None The program actually works fine. I

Expression Blend Error with design time data (no error in visual studio)

♀尐吖头ヾ 提交于 2019-12-24 08:25:50
问题 I created some design time data from my windows phone 7 application and when I look at designer in Visual Studio (Express), the design time data shows up perfectly fine. However when I try to load the same project in Expression blend 4 I get an error and the design time data doesn't show up. The error that I get is very generic "Error found in 'my xaml class' " The exact line that it points to is: <phone:PhoneApplicationPage ... d:DataContext="{d:DesignData Source=../DesignData

Change colors for theme aware applications for Windows Phone 7

大兔子大兔子 提交于 2019-12-24 05:39:07
问题 I'm wanting to change the color of a rectangle depending on what theme the user has chosen on their phone. EG. When the user has their device's theme color set to light a rectangle should be blue and when the theme is set to dark it should be a grey. Any ideas? Thanks 回答1: I wrote a custom resource dictionary implementation which selects another dictionary at runtime without a performance penalty and works in the Visual Studio designer. You would use it like this: <Application.Resources>

WPF Grid - Auto-sizing with minimum height constraints

寵の児 提交于 2019-12-24 00:54:22
问题 Background I need a grid with the following layout properties: 4 rows: header, main content, sub-content, footer The header is static content which isn't really affected by resize The main content needs to fill up all available space, with a minimum height of 180 The sub-content is a RTB that can shrink and grow. This sub-content can eat up some of the main-contents space, but should always leave 180 pixels for the main-content. The sub-content should ideally only take up the minimum amount

How can I use DesignData to help develop a Metro app?

一笑奈何 提交于 2019-12-23 21:25:24
问题 I've been merrily using the DesignData in Windows Phone apps, and I was hoping to use it to help visualise designs in a Metro style app in VS2012/Blend for VS. I've tried the hopefully obvious: <common:LayoutAwarePage x:Name="pageRoot" x:Class="MyRootNamespace.Views.EventView" DataContext="{Binding DefaultViewModel, RelativeSource={RelativeSource Self}}" IsTabStop="false" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

How to set WPF animation BeginTime based on properties (Top/Tabstop) of the control

坚强是说给别人听的谎言 提交于 2019-12-23 18:45:03
问题 I've got a WPF app that has a series of buttons in a vertical stack panel, similar to what a DVR menu would look like. I figured out how to make an animation where when each new menu page is loaded, the buttons/controls all {unfade, fall, deblur, whatever} into existence, which is nice but a little too uniform. What I'd really like is to have that animation start on each button at a slightly different time, based on its location or tabstop properties. So for instance the top button would be

Converting multiple paths into one big 'connected' path in Expression Blend

泄露秘密 提交于 2019-12-23 06:06:09
问题 I drew a shape with lots of 'lines' in Expression blend. In the XAML this gave me lots of small Paths. I then used Object->Path->Make Compound Path This brought them all into one path, but the lines are not 'connected' as I'd hoped. It's still just lots of separate bits. Is there any way to bring them together so that if I move one point, both connected lines move? (As if I'd drawn the shape with the Pencil tool.) Thanks 回答1: You need to connect the separate Paths rather than combine them.