This is a migrated thread and some comments may be shown as answers.

Binding for MaximizedItem is not working

1 Answer 83 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Denis Vuyka
Top achievements
Rank 1
Denis Vuyka asked on 25 Feb 2011, 01:18 PM
Hello,
I'm trying to create a TwoWay binding for the TileView.MaximizedItem property but whatever I try it just does not work. I'm assigning the following properties I need for that: 
MaximizedItem="{Binding Path=ActiveItem, Mode=TwoWay}"
MaximizeMode="One" 
TileStateChangeTrigger="SingleClick"
 
I tried binding both to DependencyObject and POCO object with a proper INotifyPropertyChanged implementation but according to the debugging TileView never access my binding source.
TileView has a set of other properties bound to the underlying viewmodel so I'm 100% sure bindings work as expected and datacontext is valid.
Regards,
Denis

1 Answer, 1 is accepted

Sort by
0
Denis Vuyka
Top achievements
Rank 1
answered on 28 Feb 2011, 12:31 PM
Sorry the problem is no longer valid. I had an error within a particular DependencyProperty owner declaration that was bound to MaximizedItem. As soon as I've corrected it TileView works perfect.
Tags
TileView
Asked by
Denis Vuyka
Top achievements
Rank 1
Answers by
Denis Vuyka
Top achievements
Rank 1
Share this question
or