I have a style defined for XamTile as follows:
<Style TargetType="ig:XamTile" x:Key="fistyle"> <Setter Property="IsMaximized" Value="{Binding Selected,Mode=TwoWay}"/> </Style>Within the XamTileManager this style is being set as the ItemContainerStyle. The theory is that as I add new items to the TileManager I can set Selected=true on the items viewmodel to make the new tile Maximzed.
Unfortunately, it doesn't work. There are no binding errors and I have confirmed the Style is applied. (I set IsHitTestVisible=False in the style to test it).
Hello,
I am checking if this is still an issue for you.
If you require any further assistance, please do not hesitate to ask.
Hi guys,
I have the exact same problem in my Silverlight5 application. As it appears the problem arise when the binding on IsMaximized is made TwoWay.
I changed the WPF example provided above to SL5, using Infragistics 2012-1 (latest SR). When run it worked as expected, maximizing each new tile added by clicking the button.
But when I then changed the IsMaximized binding to Mode=TwoWay it did not work anymore. The tiles now added by clicking the button did not maximize automatically.
The reason for binding TwoWay is that I want to keep track in the viewmodel of each tile whether the tile displays fully or not.
Regards, Mikael