Quantcast
Channel: wpftoolkit Discussions Rss Feed
Viewing all articles
Browse latest Browse all 2157

New Post: Tab Stop not working on multiple controls

$
0
0
Hi,

I have recently instaled WPF Extended Toolkit and and tried to create simple WPF form, using VS 2012 an C#. It has few numeric up down boxes and button. The problem is that IsTabStop property doesn't work at all. True or False - when I press Tab - it moves the focus on every box.

I created new WPF form, without any code, then just dropped few numeric up down boxes - double, integer and decimal, one date time picker and again - IsTabStop property again does not work. On the same window I put ordinary TextBoxes, and IsTabStop works perfectly.

What am I doing wrong?

I just started to learn WPF and would appreciate any help!

Thank you!

Here is the XAML code of the blank window, that don't work:
<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit" x:Class="WpfApplication1.MainWindow"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="200*"/>
            <ColumnDefinition Width="317*"/>
        </Grid.ColumnDefinitions>

        <xctk:DoubleUpDown HorizontalAlignment="Left" Height="36" Margin="142,66,0,0" VerticalAlignment="Top" Width="112" Grid.ColumnSpan="2"/>
        <xctk:DecimalUpDown HorizontalAlignment="Left" Height="35" Margin="142,120,0,0" VerticalAlignment="Top" Width="112" IsTabStop="False" Grid.ColumnSpan="2"/>
        <xctk:DoubleUpDown HorizontalAlignment="Left" Height="30" Margin="142,170,0,0" VerticalAlignment="Top" Width="112" Grid.ColumnSpan="2"/>
        <xctk:DateTimePicker HorizontalAlignment="Left" Height="30" Margin="142,220,0,0" VerticalAlignment="Top" Width="112" IsTabStop="False" Grid.ColumnSpan="2"/>
        <xctk:IntegerUpDown HorizontalAlignment="Left" Height="36" Margin="110,66,0,0" VerticalAlignment="Top" Width="105" IsTabStop="False" Grid.Column="1"/>
        <TextBox Grid.Column="1" HorizontalAlignment="Left" Height="35" Margin="110,120,0,0" TextWrapping="Wrap" Text="TextBox" VerticalAlignment="Top" Width="105" IsTabStop="False"/>
        <TextBox Grid.Column="1" HorizontalAlignment="Left" Height="30" Margin="110,170,0,0" TextWrapping="Wrap" Text="TextBox" VerticalAlignment="Top" Width="105"/>
        <TextBox Grid.Column="1" HorizontalAlignment="Left" Height="30" Margin="110,220,0,0" TextWrapping="Wrap" Text="TextBox" VerticalAlignment="Top" Width="105" IsTabStop="False"/>

    </Grid>
</Window>

Viewing all articles
Browse latest Browse all 2157

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>