expression-blend

WPF visual state manager in Blend 2 sp1

流过昼夜 提交于 2020-01-03 15:33:56
问题 Can anyone explain to me how to get the visual state manager to work with a WPF application? It's just been added to the new wpftoolkit. I installed it as told, but even the sample doesn't show the VSM. In silverlight it work, but not in WPF. If installed the latest Blend 2 and updated with the SP1. 回答1: This might also help: http://blogs.msdn.com/expression/archive/2008/10/30/blend-2-sp1-wpf-toolkit-visual-state-manager-for-wpf.aspx 回答2: rudigrobler, you've got me thinking... There should be

WPF visual state manager in Blend 2 sp1

牧云@^-^@ 提交于 2020-01-03 15:32:29
问题 Can anyone explain to me how to get the visual state manager to work with a WPF application? It's just been added to the new wpftoolkit. I installed it as told, but even the sample doesn't show the VSM. In silverlight it work, but not in WPF. If installed the latest Blend 2 and updated with the SP1. 回答1: This might also help: http://blogs.msdn.com/expression/archive/2008/10/30/blend-2-sp1-wpf-toolkit-visual-state-manager-for-wpf.aspx 回答2: rudigrobler, you've got me thinking... There should be

Blendability with d:DataContext. What am I missing?

余生长醉 提交于 2020-01-03 15:30:29
问题 I feel as though I still see a lot of guidance and advice stating that a view-first approach is the best way to go to get Blendability in your application. However, with d:DataContext, d:DesignData and d:DesignInstance, isn't the problem of Blendability easy to solve regardless of how your views and viewmodels are wired together? With DesignInstance, you simply pick a concrete ViewModel type to be used in the designer, and it's as if you've got view-first composition. In fact, using

Evenly Spaced Dashes with StrokeDashArray

烂漫一生 提交于 2020-01-01 10:54:48
问题 I'm trying to create a poker chip like the one here: http://www.casinowholesalers.com/shop/product_info.php?cPath=57&products_id=379 using Expression Blend 4 for a WP7.1 Silverlight 4 app. I'm trying to create the six white "boxes" on the edge of the chip (ignoring for now the dice images and inner dashed line). The way I did it was two create two ellipses, one with no stroke, the other is the exact same size but with a stroke of 24, a color of White, and the StrokeDashArray to 1.8 (that's

The specified solution configuration “Debug|BNB” is invalid

不羁的心 提交于 2020-01-01 07:37:11
问题 In Expression Blend 4, while compiling I get an error saying The specified solution configuration “Debug|BNB” is invalid. Please specify a valid solution configuration using the Configuration and Platform properties (e.g. MSBuild.exe Solution.sln /p:Configuration=Debug /p:Platform=”Any CPU”) or leave those properties blank to use the default solution configuration. Done building project “myproject.sln” — FAILED. Build failed. 回答1: Background : At build-time the compiler (no matter if started

The specified solution configuration “Debug|BNB” is invalid

别来无恙 提交于 2020-01-01 07:37:04
问题 In Expression Blend 4, while compiling I get an error saying The specified solution configuration “Debug|BNB” is invalid. Please specify a valid solution configuration using the Configuration and Platform properties (e.g. MSBuild.exe Solution.sln /p:Configuration=Debug /p:Platform=”Any CPU”) or leave those properties blank to use the default solution configuration. Done building project “myproject.sln” — FAILED. Build failed. 回答1: Background : At build-time the compiler (no matter if started

How do I use the Elysium Project?

 ̄綄美尐妖づ 提交于 2020-01-01 03:21:10
问题 The Elysium project on CodePlex looks interesting. One problem. I can't figure out how to use it. I can only assume that there is an assumption that the user knows what he or she is doing. I don't apparently. I download the Debug Binary from here. It has a batch file for loading the files, and it looks to have run without error. But I can't figure out where to go from here. When I open Blend, I see no templates or themes. Can someone please help? Thanks 回答1: Download the binaries either from

How to draw an arc in winRT with animation?

人盡茶涼 提交于 2019-12-30 05:01:28
问题 I am a newbie to WinRT and Blend and I need to draw digits 1, 2 etc with drawing effect in my WinRT application. The requirement is like the application will be drawing the digit. Any help will be really appreciated. Thanks in advance. 回答1: I think you would need to piece together a couple of storyboards to achieve that, and I would really recommend that you use Blend for that! Open a blank project, under objects and timeline there is a plus, click on it and add a new story board. Move the

'FormWindowState' Does Not Exist In the Current Context

心已入冬 提交于 2019-12-25 18:46:57
问题 I am working with WPF through blend and Visual Studio 2012 . Every time I try to use certain code I keep getting errors like this. For the life of me I can't figure it out. Any help is appreciated, and any explanations would be great. Here is a screen shot: Edit: To see the image more clear, right click it and choose "Open in new tab" if available. Thanks, I updated my code. Now It's giving me a new error. Screenshot: Error: Error 1 'Titan.MainWindow.WindowMaximizeButton' is a 'field' but is

Hide status bar in Windows Phone 8.1 with XAML

ⅰ亾dé卋堺 提交于 2019-12-25 16:53:32
问题 I'm trying to hide status bar in Windows Phone 8.1. I see a thread to do this (Hide Status bar in Windows Phone 8.1 Universal Apps), but this is C#. I would like to hide this status bar in XAML. Reason is that Expression doesn't detect the code in class constructor. When I launch the app all is working, but in Blend it still display the status bar, and so I can't make correctly the design... My question is : Is there a way to hide status bar in XAML (via a property in Page tag or other) ? Or