expression-blend

Nested AccordionItem. Inner AccordionItem do not expand.

In Silverlight an AccordionItem is inside another one . When the inner one is selected, it can not expand its parent more which is already expanded to show its own content. I tried to get around it by templating but I was unlucky. Does any one has a solution for it [prefer a solution without code]? <UserControl xmlns="http://schemas....

Expression-Blend-3 - Has Anyone Lost a Window? How Can You Get It Back?

Here's what I did: Right-clicked on an item in the 'Objects and Timeline' panel. Selected 'View XAML' Resized the window to a '0' size so that it went off the bottom of the screen. Now, even if I: Select 'Reset Current Workspace'... Or restart Microsoft Expression Blend.... I can't get the XAML view back. Can anyone help m...

Easiest way to create interactive simulated desktop app in Silverlight?

I'm creating a training lab for a desktop application. Basically it'll be a series of screenshots with hotspots, when the user clicks in the right spot it advances to the next screenshot. There will also be some simple text input, so a textbox will need be overlaid over some of the screenshots. The logic is simply if the user enters th...

Dealing with Expression Blend's lack of support for C++/CLI projects

I have a WPF C# project that references a C++/CLI mixed mode project. I'm having trouble using the WPF project in Expression Blend 3. I'm new to Blend so perhaps this is obvious, but it won't display the xaml designer properly until it builds the project. In my case it complains that my custom commands are not "recognized or accessibl...

Expression Blend 3 Build Configuration

In Visual Studio I can easily control which configuration is built, Debug or Release or something else. How do I control which configuration is built in Expression Blend 3? ...

Expression Blend doesn't recognize command objects declared in code behind file

I have a WPF UserControl. The code behind file declares some RoutedUICommand objects which are referenced in the XAML. The application builds and runs just fine. However Expression Blend 3 cannot load the XAML in the designer and gives errors like this one: The member "ResetCameraCommand" is not recognized or accessible. The c...

Loading Content images from Blend from separate project

Hello, I have a VS2010 solution with 5 projects. Two of these projects are called: MyResources Application The Application project contains all of the views and viewmodels for the application to run, and the Resources project contains all the images, resource dictionaries, etc for theming and skinning. The way I have images set up in...

Recommended resources for learning MS Expression Blend

I've been designing applications using C# for some time now but I have the need to create a more custom application and Expression Blend was recommended to me. I've downloaded the free trial but it's a little fancier than I expected. I'm not a graphic designer and can't use photoshop to save my life, however I do have images provided b...

Silverlight - how to implement a map

Hi guys How would you go about implementing a map of this type in Silverlight? The map would be interactive and stations would be clickable. http://www.afn.org/~alplatt/tube.html Would you draw it in blend? Import a vector image? I guess the choice is very important because pathfinding algorithms need to be able to calculate distances...

How to make a grid in a DataTemplate for a ItemTemplate auto-size to ListBox width?

So I have the following DataTemplate for a ListBox.ItemTemplate: <DataTemplate x:Key="Tweet"> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="50"/> <ColumnDefinition Width="Auto"/> </Grid.ColumnDefinitions> ...

Loading an external image via XAML code in WPF?

I have an image lock.png beside of my WPF exe file in the images folder. Now, I'm gonna load it into the WPF Project as an image, I've used the following XAML code: <Image Stretch="Fill" Source="pack://siteoforigin:,,,/images/lock.png" /> It works, but Expression Blend or Visual Studio doesn't show it when I'm working on the project. ...

Conditional execution of EventTriggers in Silverlight 3

I'm currently working on the UI of a Silverlight application and need to be able to change the visual state of a control to one of two possible states based on it's current state when handling the same event trigger. For example: I have a control that sits partially in a clipping path, when I click the visible part of the control I want...

Icons in Silverlight: Images vs. Vectors

I like using the vector drawing feature of Expression Blend to create icons. That way I can change colors easily on my icons without having to resort to an image editor. But my question is... Say I have a treeview control that has an icon next to each tree element and say I have hundreds of elements. Do you think using images is faster ...

How do I annimate between modules/views in MVVM?

I have an MVVM Silverlight 4 application that holds a list of modules (a UserControl plus some metadata) in the main window's ViewModel. I am displaying the UserControl of the module in a ContentControl (Content is bound to "CurrentModule.View"). I want to add a bit of pop to the app by annimating the transitions between views. I've...

Automatically calling OnDetaching() for Silverlight Behaviors

I am using several Blend behaviors and triggers on a silverlight control. I am wondering if there is any mechanism for automatically detaching or ensuring that OnDetaching() is called for a behavior or trigger when the control is no longer being used (i.e. removed from the visual tree). My problem is that there is a managed memory leak ...

Create a hyperlink of a slanting image in expression Blend

I am developing a navigation menu in silverlight that has 6 images. As you mouseover each image grows and clicking on an image will take you to a page on the website. The customer I am doing this for decided that straight rectangular images were boring and I showed him a design where I have slanted each image so each one is now a rhomboi...

How to resize a group of vectors in Expression Blend/WPF/Silverlight ?

So say for example I created a few small squares in expression blend. I then group them together by selecting them, right clicking and selecting "Group Into -> Grid" So now that they are in the grid, I'd like to be able to resize this grid and then they would resize but it doesn't happen, it just resizes the grid but leaves the vectors...

WPF Visual Studio Designer and Expression Blend are not respecting TypeConverter on DependencyProperty

I have added the dependency property MyList to a wpf textbox. The dependency property is of type List<string>. In order to make things easier in xaml I have defined a converter so that I can have following syntax: <Grid> <controls:MyTextBox x:Name="Hello" MyList="One,Two" Text="Hello" /> </Grid> In Visual Studio I can't edit the...

Silverlight export canvas to image

I have Expression blend 4 and I want to create a button to export to an image file the current view in silverlight Thanks! ...

UserControl VisualStates do not appear in Blend

The States pane in Blend 4 does not appear to show the VisualStates declared on a UserControl using the TemplateVisualState attribute. Is this to be expected and if so why? Creating the States manually in Blend seems to work correctly. ...