Manage focus
Manage focus
The View
<TextBox Margin="10" Text="{markup:EditorBinding Path=SampleText}">
<i:Interaction.Behaviors>
<lb:Focus ControlledBy="{Binding Path=FocusedElementKey}" UsingKey="SampleText" />
</i:Interaction.Behaviors>
</TextBox>xmlns:lb="clr-namespace:Topics.Radical.Windows.Presentation.Behaviors;assembly=Radical.Windows.Presentation"The ViewModel
Last updated