Private Sub AdvBandedGridView1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles AdvBandedGridView1.KeyDown
        If e.Control And e.KeyCode = Keys.C Then
            Clipboard.SetDataObject(AdvBandedGridView1.GetFocusedRowCellValue(AdvBandedGridView1.FocusedColumn))
            e.Handled = True
        End If
    End Subprivate void AdvBandedGridView1_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
{
if (e.Control & e.KeyCode == Keys.C) {
Clipboard.SetDataObject(AdvBandedGridView1.GetFocusedRowCellValue(AdvBandedGridView1.FocusedColumn));
e.Handled = true;
}
}

解决方案 »

  1.   

    optionBehavior-CopyToClipboardWithColumnHeader = false;
    optionSelection-MultiSelectMode = CellSelect;
    然后Ctrl-c就可以了
      

  2.   

    额还有整行选中状态的话,可以通过事件处理设置当前的颜色;
               DevExpress.Skins.Skin currentSkin;
                currentSkin = DevExpress.Skins.CommonSkins.GetSkin(DevExpress.LookAndFeel.UserLookAndFeel.Default);
                Color textColor = currentSkin.Colors.GetColor(DevExpress.Skins.CommonColors.WindowText);
                Color highlightTextColor = currentSkin.Colors.GetColor(DevExpress.Skins.CommonColors.HighligthText);
                Color selectColor = currentSkin.Colors.GetColor(DevExpress.Skins.CommonColors.Highlight);恩。。貌似复杂了哈