How do i get a tile to show up expanded and minimized (Collapsed?) ?
I assumed
State=MinimizedExpanded
would do this, but it doesn't seem to do anything different that minimized when i use it. I want the LoadSummary tile in my example to be shown when I run the program, I don't want to have to click the expand/collapse button every time to set it up like it should be.
<
UserControl x:Class="Tiles"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:igWindows="http://infragistics.com/Windows"
xmlns:local="clr-namespace:Tiles"
xmlns:igOB="http://infragistics.com/OutlookBar"
xmlns:igDock=http://infragistics.com/DockManager
xmlns:igTiles="http://infragistics.com/Tiles"
xmlns:sys="clr-namespace:System;assembly=mscorlib">
<UserControl.Resources>
<Style TargetType="{x:Type ToolTip}">
<Setter Property="Content">
<Setter.Value>
<DataTemplate>
</DataTemplate>
</Setter.Value>
</Setter>
</Style>
</UserControl.Resources>
<Grid x:Name="CmdlGrid">
<Grid.ColumnDefinitions>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition/>
</Grid.RowDefinitions>
<Grid.Resources>
<ObjectDataProvider x:Key="odpTileLayoutOrderEnum"
ObjectType="{x:Type sys:Enum}"
MethodName="GetValues">
</ObjectDataProvider>
</Grid.Resources>
<igTiles:XamTilesControl x:Name="xamTiles" Theme="Office2k7Silver"
MaximizedTileLimit="1" >
<igTiles:XamTilesControl.Resources>
</igTiles:XamTilesControl.Resources>
<igTiles:XamTilesControl.NormalModeSettings>
<igTiles:NormalModeSettings
VerticalTileAreaAlignment="Stretch"
HorizontalTileAreaAlignment="Stretch"
AllowTileDragging="No"
AllowTileSizing="Individual" />
</igTiles:XamTilesControl.NormalModeSettings>
<igTiles:XamTilesControl.MaximizedModeSettings>
<igTiles:MaximizedModeSettings
MaximizedTileLocation="Right"
ShowTileAreaSplitter="False"
ShowAllMinimizedTiles="True"
MinimizedTileExpansionMode="AllowOne"
VerticalTileAreaAlignment="Top"
MaximizedTileLayoutOrder="HorizontalWithLastTileFill" />
</igTiles:XamTilesControl.MaximizedModeSettings>
<igTiles:Tile x:Name="LoadSummaryTile" Header="Load Summary"
MaxWidth="275" State="MinimizedExpanded" AllowMaximize="False"
MaximizeButtonVisibility="Hidden"
ExpandButtonVisibility="Visible" />
<igTiles:Tile x:Name="Tile1" Header="Tile1"
State="Maximized"
ExpandButtonVisibility="Hidden" />
<igTiles:Tile x:Name="Tile2" Header="Tile2"
<igTiles:Tile x:Name="Tile3" Header="Tile3"
<igTiles:Tile x:Name="Tile4" IsClosed="True" Header="Tile4" />
<igTiles:Tile x:Name="Tile5" IsClosed="True" Header="Tile5" />
<igTiles:Tile x:Name="Tile6" Header="Tile6" IsClosed="True" />
<igTiles:Tile x:Name="Tile7" IsClosed="True " Header="Tile7" />
</igTiles:XamTilesControl>
</
UserControl>
Helo,
At run time when a tile is maximized all the other tiles are set to MinimizedExpanded. You need to explicitly set all the tiles you don't want to be MinimizedExpanded to Minimized. Please let me know if you have a problem with this as there are a few side-effects as a result of the TilesPanel needing to set the TileState for each Tile in order to facilitate having a Maximized Tile.
Hi there,
On further investigation, I've discovered that you have uncovered a bug. The problem is when loading the Tiles control with one tile set to Maximized and MaximizedModeSettings MinimizedTileExpansionMode set to ‘AllowOne’, the expected tile set to MinimizedExpanded remains Minimized even when explicitly setting it to MinimizedExpanded in XAML or code. I will be submitting a bug for this. If you would like to submit a bug as well, you can do so and also request a quick work-around until the bug is fixed.
To do so, go to the following webpage:http://es.infragistics.com/support/default.aspx#SupportOptions
Thank you!
Hi there, engineering informs me that this bug bas been fixed and is in the last service release for this product. You can download the SR from your My Infragistics page.
Thanks!
Hi,
We have the same problem. Is this bug going to be fixed any time soon?
Br,
Tatiana