Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
875
How to get a tile to be minimized but expanded
posted

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"

 AllowTileDragging="No"

 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"

 ExpandButtonVisibility="Hidden" />

 <igTiles:Tile x:Name="Tile3" Header="Tile3"

 ExpandButtonVisibility="Hidden" />

 <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>

 

 

 

</Grid>

</

 

UserControl>