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
90
Automatically Maximize First Tile
posted

I'm using the tile control, with its ItemsSource bound to a collection, how can i force one tile to be maximised when the control first loads/databinds?

            <igTiles:XamTilesControl Width="Auto" ItemsSource="{Binding Path='Entity.EntityAddresses'}" HeaderPath="AddressType.sDescription" LoadingItemMapping="XamTilesControl_LoadingItemMapping">
                <igTiles:XamTilesControl.NormalModeSettings>
                    <igTiles:NormalModeSettings AllowTileSizing="No" />
                </igTiles:XamTilesControl.NormalModeSettings>
                <igTiles:XamTilesControl.MaximizedModeSettings>
                    <igTiles:MaximizedModeSettings
                    ShowTileAreaSplitter="False"
                    AllowTileDragging="No"
                    MinimizedTileExpansionMode="AllowMultipleExpandAllInitially"                   
                    MinimizedTileExpandButtonVisibility="Hidden"                   
                    VerticalTileAreaAlignment="Top"
                    MaximizedTileLayoutOrder="VerticalWithLastTileFill"
                    MaximizedTileLocation="Right" ShowAllMinimizedTiles="True">
                        <igTiles:MaximizedModeSettings.MinimizedExpandedTileConstraints>
                            <igTiles:TileConstraints MaxWidth="200" MinWidth="80" PreferredWidth="120" PreferredHeight="90" MinHeight="60" MaxHeight="70" />
                        </igTiles:MaximizedModeSettings.MinimizedExpandedTileConstraints>
                    </igTiles:MaximizedModeSettings>
                </igTiles:XamTilesControl.MaximizedModeSettings>

                <igTiles:XamTilesControl.ItemTemplateMaximized>
                    <DataTemplate>
                        <my:uscAddressReadOnly DataContext="{Binding Path='Address'}"/>
                    </DataTemplate>
                </igTiles:XamTilesControl.ItemTemplateMaximized>
            </igTiles:XamTilesControl>