Hello,
In MaximizedMode minimized tiles (State = MinimizedExpanded) take up space, depending on content. So the height of each panel is different.
When State = Minimized height of all tiles is equal but I can not see the content.
Can I see the content in this mode? Or make equal height of minimized tiles with State = MinimizedExpanded?
Thanks
I have been looking into your issue and even though the XamTilesControl does not a built-in functionality to control the minimized Tiles I think I have found a way for you to achieve your goal. You can try out this Style for the Tiles like this one:
<Style TargetType="{x:Type igTiles:Tile}">
<Style.Triggers>
<DataTrigger Binding="{Binding RelativeSource={RelativeSource Mode=Self}, Path=State }" Value="MinimizedExpanded">
<Setter Property="Height" Value="40" />
</DataTrigger>
</Style.Triggers>
</Style>
Please let me know if you require any further assistance on the matter.
Sincerely,
Petar Monov
Developer Support Engineer
Infragistics Bulgaria
www.infragistics.com/support
Are there any other suggestions?
Hi Andy,
You can try use tile constraints for MinimizedExpanded state to set the preferred, max, min height of the tiles here:
http://help.infragistics.com/NetAdvantage/WPF/2010.3/CLR4/?page=InfragisticsWPF4.Tiles.v10.3~Infragistics.Windows.Tiles.TileConstraints_members.html
And the MinimizedExpandedTileConstraints property here:
http://help.infragistics.com/NetAdvantage/WPF/2010.3/CLR4/?page=InfragisticsWPF4.Tiles.v10.3~Infragistics.Windows.Tiles.MaximizedModeSettings~MinimizedExpandedTileConstraints.html
Hope this helps,
Horen Kirazyan
Thank you for your reply. This helped, although the solution is not very "elegant".
But there is another problem. I set Margin="0,1,0,0" of the tile. But in fact top margin is not 1 but 2 (Red line is a border of XamTilesControl with BorderThickness="1").
It does not give the ability to accurately build user interface. Perhaps, I missed something in the settings.
And another question off topic: is it possible to get the source code for WPF components in any component package (I saw this mentioned on official site on the page with the WPF components before new year)?
The problem with the margin is an issue. The developer support will create a case for you, so you can keep up with the fix and be noticed when it is fixed.
You can get the source code from My IG - My Keys and Downloads - https://es.infragistics.com/Membership/Default.aspx?panel=Downloads
There you should find the source code for the version you have registered.