DevExpress GridControl LayoutView 问题
请问如何点击卡片的时候获取卡片上的内容,翻找Dev的帮助资料好像也没有相应的内容
------解决方案--------------------
private void layoutView1_FocusedRowChanged(object sender, DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventArgs e)
{
// MessageBox.Show(e.FocusedRowHandle.ToString());
object obj= this.layoutView1.GetRow(e.FocusedRowHandle);
string ptID = ((System.Data.DataRowView)(obj)).Row["ID"].ToString();
string ptName = ((System.Data.DataRowView)(obj)).Row["Name"].ToString();
string ptSex = ((System.Data.DataRowView)(obj)).Row["sex"].ToString();
string ptAge = ((System.Data.DataRowView)(obj)).Row["Age"].ToString();
string hljb = ((System.Data.DataRowView)(obj)).Row["HLJB"].ToString();