expression-blend

Blend 4 Beta: How to change image source as part of Timeline

I'm trying out Blend 4 beta, and looking for a way to do a simple thing: When a mouse is hovered on an image, the image should change its source to a different image. When the MouseLeave happens, the image changes back. I know I can do it in source code, but I'm looking for a code free way to do it, without hand coding xaml. Blend...

UserControl as ListBoxItem and IsSelected

I have a usercontrol that I want to use as a ListBoxItem. <ListBox.ItemTemplate> <DataTemplate> <local:MyUserControl/> </DataTemplate> </ListBox.ItemTemplate> I'd like to play a storyboard when the usercontrol is unselected. <UserControl.Resources> <Style TargetType="{x:Type UserControl}"> <Style....

Expression Blend: How to create User Control with dynamic headline?

Hi, I created a UserControl and added a "label" asset. I gave this label a default content property. If I include this UserControl in my projekt, how can I achieve to edit the content property in the properties window? I want to have a behaviour like the TabItem: There is a "Header" option under Properties->CommonProperties where you can...

Microsoft Expression Blend 3 - Show / Hide a popup

Hi, I'm using this for the very first time to do some quick prototyping (using sketchflow). I have a simple dialog window that I want to show when a button it pressed and then hide when a button (in the dialog, like an "OK" button) is pressed. If someone could just point me in the direction of a simple tutorial on how to do this I'd be ...

What is the difference between Visual Studio and Expression Studio?

I have visual Studio 2008. I have noticed that I cam make WPF applications with Visual Studio. Does this mean that it can do the work that Expression Studio does? I am going to install Visual Studio 2010. Does this do away with the necessity of Expression Studio? ...

Expression Blend does not allow to select Solution Configuration/Platform

Our solution is built using Release|x86; however, when our designers try to build using Blend they are forced to use Any CPU which we don't want to to add since it's going to change the behavior. I checked version 4, and it does not seem to address this issue. Is there a way to specify Solution Configuration/Platform when using Blend? A...

Design-time issue with tabcontrol in Expression Blend 3

I have a xaml page with a tabcontrol on. This tabcontrol has 2 tabitems on. The one tabitem has a few controls on eg. database grid, textboxes, checkboxes etc. I can not drag or select any of these controls in design time in Expression Blend 3. It must be something with the tabcontrol because I can drag and select controls on other page...

Member "TextTrimming" is not recognized in Expression Blend?

So I am using Silverlight 4.0 I have the following code but its giving me the following error: "The member "TextTrimming" is not recognized or is not accessible", but it works fine when I run in Visual Studio 2010. <TextBlock Margin="0,30,28.789,50.455" TextWrapping="Wrap" TextTrimming="WordEllipsis" HorizontalAlignment="Right" Width="1...

How can I use a config-file in Expression Blend 4?

Hi, while trying to use the "InfoStrat"-Bing-Maps-Control in Expression Blend 4 for my Surface Application, I get the error message: "Mixed mode assembly is built against version v2.0.50527 of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information" I already found out that I need to write this c...

d:DesignData issue, Visual Studio 2010 cant build after adding sample design data with Expression Blend 4

Hi, VS 2010 solution and Silverlight project builds fine, then: I open MyView.xaml view in Expression Blend 4 Add sample data from class (I use my class defined in the same project) after I add new sample design data with Expression blend 4, everything looks fine, you see the added sample data in the EB 4 fine, you also see the data...

Using the MVVM Light Toolkit to make Blendable applications

A while ago, I posted a question regarding switching between a Blend-authored GUI and a Visual Studio-authored one. I got it to work okay by adding my Blend project to my VS2008 project and then changing the Startup Application and recompiling. This would result in two applications that had completely different GUIs, yet used the exact...

How to style a treeview in Expression Blend

(Using Expression Blend 4 RC, Silverlight 3) I have a treeview with several different item templates for different levels. When I open this project in Blend, it seems I can only really style the top-most DataTemplate (via right-click the TreeView in the Objects/Timeline view, Edit Additional Templates->Edit Generated Items (ItemTemplate...

"The DOM/scripting bridge is disabled" error in Blend

Hi there, I've been given a custom Silverlight control to use, and everytime I open it up in Blend, get the "The DOM/scripting bridge is disabled" error. Looking in the control's source code, I can see calls to public override void OnApplyTemplate() { ... HtmlPage.Window.Invoke("GetPrimaryGradStart").ToString() whi...

MindMap in silverlight

I need to put together a team to build a silverlight based application that will read an xml file and generate a Mind Map diagram based on that file. I am new to silverlight and I need to find out what skills do I need and how difficult is it to do something like this. I expect the typical Mind Map features available in a commercial Mi...

WPF: Restyling a window?

Hi there, does anyone know if its possible to restyle a window in wpf. Or even better any tutorials or samples? Basically i would like to change the minimize and maximize buttons - oh and the close button to be slightly bigger.... I have expression blend.... Is this possible? I saw some samples in infragistics sample apps which have...

Windows 7 Status Menu style Window

Hey all, I'm working on a project and I'm wondering how to get a type of window common in Windows's wireless controls, as shown in the screen shot below: http://cybernetnews.com/wp-content/uploads/2008/10/windows-7-wireless.jpg There's no close or maximize buttons, but the border is still present. My tools include Expression Blend 3 a...

Silverlight 4: How to apply multiple effects to an element?

We can apply only one effect to an element. Is there any way to apply multiple effects simultaneously to an element? like both DropShadowEffect as well as the BlurEffect ? Google did not help me much. Any suggestions? ...

Add image silverlight hovereffect from codebehind

Hi I have a stackpanel that has a dynamic amount of images that are added programatically, Is there a way I can set a hover/click effect programatically on these images. I would like for the image to "glow" when clicked. How do i do that in silverlight? I've noticed the Image.Effect property, but I'm not really sure how to use it. ...

WPF: VisualStateManager not working

Hi, I'm trying to figure out how the VisualStateManager works but I cannot do it. I want to do this: I have some TextBoxes where the user can enter his name, adress, ... and I'm doing a validation and I didn't want to do that with a validationrules-binding in XAML. I'm using MVVM-pattern and some code of my viewmodel does it. So I'm bi...

Behaviors for Blend (Silverlight 4)

I'm wondering if anybody knows any good (free) behaviors for Blend/Silverlight 4 Specifically I'm looking for a behavior that I can drop on a TextBlock to make it scroll horizontally or a behavior that will "flash" text in a TextBlock (blinking text). But I'd love to hear about any behaviors you've been using or know about. As an examp...