tags:

views:

76

answers:

1

Hi,

How to handle mousedoubleclick in textbox text in xaml.

This is how i am doing for keyboard enter in xaml

<TextBox     Text="{Binding Path=FullName, Mode=OneWay}" 
                                IsReadOnly="True"
                                x:Name="txtFullName"/>

< Button Command="{Binding OpenStaffDialogCommand}" CommandParameter="{Binding Text, ElementName=txtFullName}" Width="0" IsDefault="{Binding IsFocused, ElementName=txtFullName}" />

Thanks

A: 

You want to handle the MouseDoubleClick event.

Phil Price
Like i did for keyboard enter. Something similar but with no code behind.