private void cardView1_CustomDrawCardCaption(object sender, DevExpress.XtraGrid.Views.Card.CardCaptionCustomDrawEventArgs e)
        {
              DevExpress.XtraGrid.Views.Card.CardView view = sender as DevExpress.XtraGrid.Views.Card.CardView;

            (e.CardInfo as DevExpress.XtraGrid.Views.Card.ViewInfo.CardInfo).CaptionInfo.CardCaption = view.GetRowCellDisplayText(e.RowHandle, view.Columns["filedName"]);   // 要用哪个字段替换

 

  this.Invoke(new Action(() => alertControl1.Show(this, info)));

跨线程访问

posted on 2017-11-20 22:31  小石头的一天  阅读(1322)  评论(0编辑  收藏  举报