//声明ColumnView对象
var columnView = (ColumnView)gtSynData.FocusedView; //得到选中的行索引 int focusedhandle = columnView.FocusedRowHandle;