Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

TextBox Pointer

$
0
0

Hi

I have an usercontrol with three textboxes in it like

<TextBlock Text="Personnummer" Grid.Column="0" Grid.Row="0"  FontWeight="Bold"  /><TextBlock Text="Namn" Grid.Row="2" Grid.Column="0" FontWeight="Bold" /><TextBlock Text="Adress" Grid.Row="4" Grid.Column="0" FontWeight="Bold" /><TextBox Text="{Binding Personnummer}" Grid.Column="1" Grid.Row="0"/><TextBox Text="{Binding Namn}" Grid.Column="1" Grid.Row="2"/><TextBox Text="{Binding Adress}" Grid.Column="1" Grid.Row="4"/><Button Content="SUBMIT" Command="{Binding SubmitButton }" Grid.Row="4" Grid.Column="2" Margin="0,16,-1,1" Grid.RowSpan="2"/>

My customer prefers keybord before mouse so I must set first textbox "Name" ready to input as soon as my user control is loaded.

Later I must find the way to move , i quess Focus, from one TextBox to oneother by clicking Up and Down Arrow buttons on Keybord.

Any help is appreciated


Viewing all articles
Browse latest Browse all 18858

Trending Articles



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