I am using xamTiles with one of the tile has WindowsFormsHost, The tile which is having WindowsFormsHost is moving out of xamTileManager when it is on right side list (Minimized tiles list) as first tile and when I scroll down to see the other tiles below that. Please see the attached shot
Hello,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
No, the issue still exists
I have logged this with development under ID: 212275 and I have also created a support ticket on your behalf: CAS-168691-T0S6R0 and have linked the development issue to it, so that you can get automatically updated, when a Service Release containing the fix is available for download. You can get the new version from our website’s “My IG”, “My Keys & Downloads” tags: https://ko.infragistics.com/Membership/Default.aspx?panel=Downloads#Downloads
You can also monitor the support ticket’s progress through the “My Support Activity” tag: https://ko.infragistics.com/Membership/MySupport.aspx
Use the below source code, move the WindowsFormsHost tile to left and scroll down
you will see that WindowsFormsHost will be placed out of tile
<Window x:Class="WellView.TileManagerWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ig="http://schemas.infragistics.com/xaml"
xmlns:wellView="clr-namespace:WellView"
Title="MainWindow" >
<Grid>
<Grid.RowDefinitions>
<RowDefinition/>
</Grid.RowDefinitions>
<Border Height="15" Grid.Row="0" Grid.Column="0" HorizontalAlignment="Stretch" >
<TextBlock > Space for Ribbon </TextBlock>
</Border>
<ig:XamTileManager Name="xamTileManager1" Grid.Row="1">
<ig:XamTile Header="Tile 1" IsMaximized="True" >
<ig:XamTile.Content>
<WindowsFormsHost x:Name="wform" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
<WindowsFormsHost.Child>
<wellView:UserControl1></wellView:UserControl1>
</WindowsFormsHost.Child>
</WindowsFormsHost>
</ig:XamTile.Content>
</ig:XamTile>
<ig:XamTile Header="Tile 2">
<TextBlock Text="WPF Content" />
</Grid>
<ig:XamTile Header="Tile 3">
<ig:XamTile Header="Tile 4">
<ig:XamTile Header="Tile 5">
<ig:XamTileManager.MaximizedModeSettings>
<ig:MaximizedModeSettings>
<ig:MaximizedModeSettings.MinimizedExpandedTileConstraints>
<ig:TileConstraints VerticalAlignment="Stretch" HorizontalAlignment="Stretch" PreferredHeight="250" PreferredWidth="620" />
</ig:MaximizedModeSettings.MinimizedExpandedTileConstraints>
</ig:MaximizedModeSettings>
</ig:XamTileManager.MaximizedModeSettings>
<ig:XamTileManager.NormalModeSettings>
<ig:NormalModeSettings VerticalTileAreaAlignment="Stretch" AllowTileDragging="Swap" ShouldAnimate="False" AllowTileSizing="Individual" >
<ig:NormalModeSettings.TileConstraints>
<ig:TileConstraints VerticalAlignment="Stretch" HorizontalAlignment="Stretch" PreferredHeight="250" PreferredWidth="620"></ig:TileConstraints>
</ig:NormalModeSettings.TileConstraints>
</ig:NormalModeSettings>
</ig:XamTileManager.NormalModeSettings>
</ig:XamTileManager>
<!--<ig:XamTileManager Grid.Row="1" ItemsSource="{Binding Tiles}"
Name="xamTileManager1"
HeaderPath="Text"
Margin="0,0,0,0">
</ig:XamTileManager>-->
</Window>
try the following source code, move the WindowsFormsHost tile to right and scroll down, you will see that control will be overlapped as in WindowsFormsHostMovesOutOfTile_2.png
<Window x:Class="WellView.TileManagerWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:ig="http://schemas.infragistics.com/xaml" xmlns:wellView="clr-namespace:WellView" Title="MainWindow" > <Grid> <Grid.RowDefinitions> <RowDefinition/> <RowDefinition/> </Grid.RowDefinitions> <Border Height="15" Grid.Row="0" Grid.Column="0" HorizontalAlignment="Stretch" > <TextBlock > Space for Ribbon </TextBlock> </Border>
<ig:XamTileManager Name="xamTileManager1" Grid.Row="1"> <ig:XamTile Header="Tile 1" IsMaximized="True" > <ig:XamTile.Content> <WindowsFormsHost x:Name="wform" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"> <WindowsFormsHost.Child> <wellView:UserControl1></wellView:UserControl1> </WindowsFormsHost.Child> </WindowsFormsHost> </ig:XamTile.Content> </ig:XamTile> <ig:XamTile Header="Tile 2"> <ig:XamTile.Content> <Grid> <TextBlock Text="WPF Content" /> </Grid> </ig:XamTile.Content> </ig:XamTile> <ig:XamTile Header="Tile 3"> <ig:XamTile.Content> <Grid> <TextBlock Text="WPF Content" /> </Grid> </ig:XamTile.Content> </ig:XamTile> <ig:XamTile Header="Tile 4"> <ig:XamTile.Content> <Grid> <TextBlock Text="WPF Content" /> </Grid> </ig:XamTile.Content> </ig:XamTile> <ig:XamTile Header="Tile 5"> <ig:XamTile.Content> <Grid> <TextBlock Text="WPF Content" /> </Grid> </ig:XamTile.Content> </ig:XamTile> <ig:XamTileManager.MaximizedModeSettings> <ig:MaximizedModeSettings> <ig:MaximizedModeSettings.MinimizedExpandedTileConstraints> <ig:TileConstraints VerticalAlignment="Stretch" HorizontalAlignment="Stretch" PreferredHeight="250" PreferredWidth="620" /> </ig:MaximizedModeSettings.MinimizedExpandedTileConstraints> </ig:MaximizedModeSettings> </ig:XamTileManager.MaximizedModeSettings> <ig:XamTileManager.NormalModeSettings> <ig:NormalModeSettings VerticalTileAreaAlignment="Stretch" AllowTileDragging="Swap" ShouldAnimate="False" AllowTileSizing="Individual" > <ig:NormalModeSettings.TileConstraints> <ig:TileConstraints VerticalAlignment="Stretch" HorizontalAlignment="Stretch" PreferredHeight="250" PreferredWidth="620"></ig:TileConstraints> </ig:NormalModeSettings.TileConstraints> </ig:NormalModeSettings> </ig:XamTileManager.NormalModeSettings> </ig:XamTileManager> <!--<ig:XamTileManager Grid.Row="1" ItemsSource="{Binding Tiles}" Name="xamTileManager1" HeaderPath="Text" Margin="0,0,0,0"> <ig:XamTileManager.MaximizedModeSettings> <ig:MaximizedModeSettings> <ig:MaximizedModeSettings.MinimizedExpandedTileConstraints> <ig:TileConstraints VerticalAlignment="Stretch" HorizontalAlignment="Stretch" PreferredHeight="250" PreferredWidth="620" /> </ig:MaximizedModeSettings.MinimizedExpandedTileConstraints> </ig:MaximizedModeSettings> </ig:XamTileManager.MaximizedModeSettings> <ig:XamTileManager.NormalModeSettings> <ig:NormalModeSettings VerticalTileAreaAlignment="Stretch" AllowTileDragging="Swap" ShouldAnimate="False" AllowTileSizing="Individual" > <ig:NormalModeSettings.TileConstraints> <ig:TileConstraints VerticalAlignment="Stretch" HorizontalAlignment="Stretch" PreferredHeight="250" PreferredWidth="620"></ig:TileConstraints> </ig:NormalModeSettings.TileConstraints> </ig:NormalModeSettings> </ig:XamTileManager.NormalModeSettings> </ig:XamTileManager>--> </Grid></Window>
Pct 1