Mega Code Archive

 
Categories / VB.Net Tutorial / WPF
 

Focus scope for StackPanel

<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"       xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <StackPanel>   <StackPanel FocusManager.IsFocusScope="True">     <Button Command="ApplicationCommands.Copy"  Content="Copy" />     <Button Command="ApplicationCommands.Paste" Content="Paste" />   </StackPanel>   <TextBox /> </StackPanel> </Page>