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
115
Tabbing problem when dialog set to modal.
posted

When using the xamDialogWindow with IsModal set to true, tabbing between the controls in the dialog does not work. I've included xaml.

<UserControl x:Class="WpfApplication1.BaseWindow"
        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" >
    <Grid >
        <ig:XamDialogWindow  Width="300" Height="300" Header="Test" Name="xamDialogWindow1" StartupPosition="Center" IsModal="True" IsTabStop="False">
            <Grid Margin="3,3,3,3">
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"></RowDefinition>
                    <RowDefinition Height="Auto"></RowDefinition>
                    <RowDefinition Height="Auto"></RowDefinition>
                    <RowDefinition Height="Auto"></RowDefinition>
                </Grid.RowDefinitions>
                <TextBox Height="23" HorizontalAlignment="Left" Name="textBox1" VerticalAlignment="Top" Width="120" Margin="3,3,3,3" />
                <TextBox Height="23" HorizontalAlignment="Left" Name="textBox2" VerticalAlignment="Top" Width="120" Grid.Row="1"  Margin="3,3,3,3"/>
                <TextBox Height="23" HorizontalAlignment="Left" Name="textBox3" VerticalAlignment="Top" Width="120" Grid.Row="2"  Margin="3,3,3,3"/>
                <StackPanel Orientation="Horizontal" Grid.Row="3"  Margin="3,3,3,3">
                <Button Content="Button" Grid.Row="3" Height="23" HorizontalAlignment="Left" Name="button1" VerticalAlignment="Top" Width="75" IsDefault="True" />
                <Button Content="Button" Grid.Row="3" Height="23" HorizontalAlignment="Left" Name="button2" VerticalAlignment="Top" Width="75" IsCancel="True" />
                </StackPanel>
            </Grid>
        </ig:XamDialogWindow>
    </Grid>
</UserControl>