Answers for "wpf how to focus on element"

C#
0

wpf how to focus on element

<StackPanel Orientation="Vertical" FocusManager.FocusedElement="{Binding ElementName=TxtB}">
    <TextBox x:Name="TxtA" Text="A" />
    <TextBox x:Name="TxtB" Text="B" />
</StackPanel>
Posted by: Guest on May-10-2021

Code answers related to "wpf how to focus on element"

C# Answers by Framework

Browse Popular Code Answers by Language