Code Snippet
- <Border DockPanel.Dock="Top">
 - <StackPanel>
 - <Label
 - Content="_Last Name:"
 - Target="{Binding ElementName=lastName}" />
 - <TextBox x:Name="lastName" Width="100" HorizontalAlignment="Left"/>
 - </StackPanel>
 - </Border>
 
Usage
Press ALT+L to focus the TextBox control 'lastName'.
Result

No comments:
Post a Comment