Click here to Skip to main content
15,745,232 members

Comments by industryunleash (Top 8 by date)

industryunleash 6-Aug-10 8:43am View    
Yes, I have the ItemContainerStyle for my ItemsControl set like so:

<Setter Property="Canvas.Left" Value="{Binding Position.X}" />
<Setter Property="Canvas.Top" Value="{Binding Position.Y}" />
<Setter Property="Panel.ZIndex" Value="{Binding ZIndex}" />

The Position properties bind, but the zindex one doesn't or if it does it doesn't change anything on screen.
industryunleash 5-Aug-10 16:20pm View    
Removing it and re-adding it to the collection would be bad for me because a lot of other things are dependent on it and they would get messed up.
industryunleash 4-Aug-10 10:55am View    
yes i am modeling a drawing app like visio, the lines actually represent interactions between systems in the model
industryunleash 23-Jul-10 10:06am View    
no, no PreviewSourceUpdated
industryunleash 21-Jul-10 20:24pm View    
well currently my tabcontrol is bound to an itemsource of viewmodel objects, same with my treeview, is it possible to use the selection changed event without messing with the view-viewmodel relationship?