Click here to Skip to main content
15,885,198 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,friends,here is a problem that jamed me for few days,I don't know how to meet the PM's requist ! so I am here for help!

the problem is:

when the user double click a selected item in a datagrid,then another form shows!

how to binding the DoubleClick command in a datagrid or the selected item in the xaml .

Thank you !

the XAML code:

XML
<DataGrid x:Name="dgResult"  HorizontalAlignment="Left" Margin="25,251,0,0" ItemsSource="{Binding DgResultDataContext}" VerticalAlignment="Top" Height="263" Width="752" Grid.ColumnSpan="4" SelectedItem="{Binding DgResultSelectedItem}">

          </DataGrid>
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900