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
OOB Context Menu behavior (Debug) when resizing window
posted

Simple xaml with no code behind:

 

<UserControl x:Class="SL.InfragisticsContextMenu.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:ig="clr-namespace:Infragistics.Controls.Menus;assembly=InfragisticsSL4.Controls.Menus.XamMenu.v10.3">
    <ig:ContextMenuService.Manager>
        <ig:ContextMenuManager>
            <ig:ContextMenuManager.ContextMenu>
                <ig:XamContextMenu
                    x:Name="mnuContext" Height="Auto" Width="Auto" HorizontalAlignment="Left" VerticalAlignment="Top">
                    <ig:XamMenuItem x:Name="mnuName" Header="Some Header"/>
                </ig:XamContextMenu>
            </ig:ContextMenuManager.ContextMenu>
        </ig:ContextMenuManager>
    </ig:ContextMenuService.Manager>
    <Grid x:Name="LayoutRoot" Background="White">
        <Button Content="Button" Height="100" Width="100"/>
    </Grid>
</UserControl>

 

1. set project properties under Debug tab: Start action: out-of-browser application

2. Start Debugging.

3. OOB window will appear, you can resize it without problem.

4. Right click to bring out the context menu. Click anything inside or outside the menu.

5. Try to resize window again -> all window content disappears.

Seems like a bug to me, or am I missing something here?

 

Thanks

 

Art