wpf

WPF animation question

I am new to WPF in general and want to add some animation to my interface. I have a label and an image. The label will fly in from the right side of the window, the image from the left. They'll meet in the center. The image will rotate while its flying in, while the text will pretty much just move across the screen. So my question is...

WPF: Do VS 2010 and Blend 4 really integrate well?

I'm new to WPF, so this is my first project. I started with the coding side of things using VS. I am overall pretty satisfied with the way VS is used to build a WPF app, however a big part of WPF is also animation. So to my relief, I was able to open the solution I created using VS 2010, in Expression Blend 4. I opened it, but then...

Right Way to access a View Model from an existing View Model

I am somewhat new to MVVM. I am not sure what the best way is to do what I am trying to do. Here is the scenario: I have a VM that is going to show another window. I can call myNewWindowView.Show(), but first I need to set some data in the VM of my new window. Should I expose both the myNewWindowView and the NewWindowViewModel to th...

WPF, any easy way to work with different screen resolutions?

Given a WPF Application running full screen, a fair amount of controls some of which will animate from off screen to center. I was wondering if there are any special ways to save on the amount of time required to optimize an application for different screen resolutions? For example, using Blend I've setup some text, which is originally ...

WPF Tree View select items when added to tree

I have a WPF TreeView which displays my ViewModel. I have a button that adds an item to a collection in the underlying ViewModel which adds a child node to the tree. This part works. What I want is the newly added item to be the SelectedItem of the tree view. I have read this already: How to programmatically select an item in a WPF T...

MVVM: Using a Messenger only with custom objects to make Send<> "id" unique ?

Hello, what I do not like about the Messenger I use (mvvm light toolkit) that when I register to DateTime and I send something other parts of my application get the datatime data too because they registered to "DateTime" type. To prevent that I have to create always custom objects and wrap my datetime value. Thats stupi. How do you wo...

issue with backspace in navigation window WPF

Hi, Does ayone ever solve this issue (http://www.clariusconsulting.net/blogs/kzu/archive/2007/12/26/NavigationWindowWinFormsHostandTextBoxesbackspacebug.aspx)? tried those 2 solutions but no luck thanks ...