expression-blend

TextBlock with multiple <Run> spacing

六月ゝ 毕业季﹏ 提交于 2019-11-30 10:48:15
Given a formatted text block in Windows Phone 7.1 project: <StackPanel Orientation="Horizontal"> <TextBlock Foreground="DarkGray" VerticalAlignment="Bottom" Margin="0,0,0,8"> <Run Text="total length "/> <Run Text="{Binding TotalHours}" FontSize="48"/> <Run Text="h "/> <Run Text=":" FontSize="48"/> <Run Text="{Binding TotalMinutes}" FontSize="48"/> <Run Text="m "/> </TextBlock> </StackPanel> It is being previewed correctly in VS designer: It is already looking not the way I want in Blend: It looks just as in Blend (good job Blend team) in emulator and a real device. What adds those spaces

The tag 'Interaction.Behaviors' does not exist in VS2010 (Blend 3)

耗尽温柔 提交于 2019-11-30 09:02:02
There seems to be a problem with support for the Interactivity namespace of Blend 3 in the VS2010 xaml editor. I have the following installed: VS2010 Blend 3 + Blend 3 SDK I am trying to compile a demo project that is targeted at .Net 4 Client Profile and has a reference to System.Windows.Interactivity (in the Blend 3 folder). In the object browser everything appears to be fine. I can also access Interaction.Behaviours from code-behind, but if I put the namespace xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" in the xaml file and try to use it, the intellisense is blank.

How to reuse icons (xaml-paths) in a large project?

南笙酒味 提交于 2019-11-30 05:25:36
I am part of the development of a larger-scale Silverlight 4 project, where we will have a set of symbols that should be used across different parts of the GUI (see the example below). These icons are made from multiple paths directly in Blend, and will be used, either singly or as different visual states in usercontrols (with the same icon used in more than one context). In order to facilitate changing the design of a single icon, and having it propagate throughout the application, what is the best way to store these? I have tried creating styles from them (right click -> edit style..), but

WPF Button isPressed and isEnabled problem

不打扰是莪最后的温柔 提交于 2019-11-30 05:21:34
问题 Update: using Expression Blend 3 I'm trying to style the IsPressed & IsEnabled(false) property triggers for a class of buttons in a WPF application. Here's a UserControl with a Button using the style... <UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class=

Tools to develop WPF or Silverlight applications

筅森魡賤 提交于 2019-11-29 19:55:41
List out the Tools and Utilities to develop Rich Interactive Application on Microsoft platform The recommendations should have some sort of direct relationship with either XAML or Silverlight/WPF and not the common .NET utilities. Expression Blend - XAML Development Expression Design - Graphic asset creation KaXaml , A cool and handy XAML editor http://www.kaxaml.com/ Snoop a WPF tool http://snoopwpf.codeplex.com Mole WPF Visual Tree debugger Blender for 3D modeling http://www.blender.org/ Silverlight Deepzoom composer SilverlightSpy - Suggested by @ Bryant Adobe Illustrator to XAML export

Blend Behaviours - can you bind to their properties?

£可爱£侵袭症+ 提交于 2019-11-29 19:18:48
问题 I am currently migrating a number of attached behaviours I have created to Blend Behaviours so that they support drag and drop within Expression Blend. I have noticed that authors of Blend behaviours tend to define the behaviour properties as dependency properties. I have created a behaviour, TiltBehaviour , which exposes a public dependency property, TiltFactor , of type double. Within Expression Blend I can set the value of this property, however, the option to add a "Data Binding ..." is

The tag 'Interaction.Behaviors' does not exist in VS2010 (Blend 3)

馋奶兔 提交于 2019-11-29 12:19:45
问题 There seems to be a problem with support for the Interactivity namespace of Blend 3 in the VS2010 xaml editor. I have the following installed: VS2010 Blend 3 + Blend 3 SDK I am trying to compile a demo project that is targeted at .Net 4 Client Profile and has a reference to System.Windows.Interactivity (in the Blend 3 folder). In the object browser everything appears to be fine. I can also access Interaction.Behaviours from code-behind, but if I put the namespace xmlns:i="http://schemas

Is there a way to pass a parameter (or multiple params) to the CallMethodAction behavior?

吃可爱长大的小学妹 提交于 2019-11-29 07:02:58
Is there a way to pass a parameter (or multiple params) to the CallMethodAction behavior? kruvi Try InvokeCommandAction a command instead of using CallMethodAction: <i:Interaction.Triggers> <i:EventTrigger EventName="TextChanged"> <i:InvokeCommandAction Command="{Binding TextChangedCommand}" CommandParameter="{Binding ElementName=filterBox, Path=Text}"/> </i:EventTrigger> </i:Interaction.Triggers> Hope it helps After some decompiling it turns out that CallMethodAction does support calling methods with parameters. However, CallMethodAction is very strict on the expected signature. Methods must

WPF Applications: Visual Studio vs. Expression Blend

限于喜欢 提交于 2019-11-29 05:33:05
I am a bit confused on how Visual Studio 2010 and Expression Blend 4 operate together. If I want to create a WPF application, should I start it in Expression Blend 4? If so, then how does Visual Studio 2010 natively open Expression Blend projects, or does it? Or should I start my application in Visual Studio 2010? If so, how do I open my solution in Expression Blend. Also, how do I modify an existing WPF form, if I need changes. If I already have events handled and code behind, how do I bring it over to expression blend, make my changes, then bring it back to visual studio without disrupting

Referencing the correct System.Windows.Interactivity dll from Prism application

浪子不回头ぞ 提交于 2019-11-29 03:49:28
I have a WPF Prism application that I'm building. The application is to the point where I want to be able to add EventTriggers to controls so I can call commands on the underlying view model. However, I can't seem to reference the correct DLLs to make the project run. Currently, I'm referencing Microsoft.Expression.Interactions and System.Windows.Interactivity from the C:\Program Files (x86)\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries directory. When I run the module, I get this error: Could not load file or assembly 'System.Windows.Interactivity, PublicKeyToken