简体   繁体   中英

Devexpress GridControl Row Click

I want to handle Row Clicked event when Devexpress grid control row is clicked. Row double click is working like:

  <dxmvvm:Interaction.Behaviors>
    <dxmvvm:EventToCommand EventName="RowDoubleClick " 
          Command="{Binding SelectedRowCommand}"
          CommandParameter="{Binding CurrentItem, ElementName=grid}" />
  </dxmvvm:Interaction.Behaviors>

I can't find correct EventName for row single click

您应该能够处理SelectionChanged事件以检测何时单击了一行。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM