WPF DataGrid 绑定行双击行命令

WPF DataGrid 绑定行双击行命令

<DataGrid ...>
    <DataGrid.InputBindings>
        <MouseBinding MouseAction="LeftDoubleClick" Command="{Binding DoubleClickCommand}"/>
    </DataGrid.InputBindings>
</DataGrid>
posted @ 2018-08-09 15:32  A_ning  阅读(2002)  评论(0编辑  收藏  举报