WPF_DataGrid绑定行双击行命令

绑定行双击行命令

<DataGrid ...>
    <DataGrid.InputBindings>
        <MouseBinding MouseAction="LeftDoubleClick" Command="{Binding DoubleClickCommand}"/>
    </DataGrid.InputBindings>
</DataGrid>

评论