ラベル型セル(LabelCell)では、Valueプロパティに含まれるアンパサンド文字(&)をアクセスキーの接頭文字として表示できます。アンパサンド文字をアクセスキーの接頭文字として表示するには、UseMnemonicプロパティをTrueに設定します。
次のコードでは、ラベル型セルに「コピー(&C)」を表示します。

Imports GrapeCity.Win.MultiRow
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Dim LabelCell1 As New LabelCell()
LabelCell1.Name = "LabelCell1"
LabelCell1.Value = "コピー(&C)"
LabelCell1.UseMnemonic = True
Dim Template1 As Template = Template.CreateGridTemplate(New Cell() {LabelCell1})
GcMultiRow1.Template = Template1
GcMultiRow1.RowCount = 10
End Sub
Private Sub GcMultiRow1_KeyDown(sender As Object, e As KeyEventArgs) Handles GcMultiRow1.KeyDown
If e.KeyCode = Keys.C AndAlso e.Modifiers = Keys.Control Then
EditingActions.Copy.Execute(GcMultiRow1)
End If
End Sub
using GrapeCity.Win.MultiRow;
private void Form1_Load(object sender, EventArgs e)
{
LabelCell labelCell1 = new LabelCell();
labelCell1.Name = "labelCell1";
labelCell1.Value = "コピー(&C)";
labelCell1.UseMnemonic = true;
Template template1 = Template.CreateGridTemplate(new Cell[] { labelCell1 });
gcMultiRow1.Template = template1;
gcMultiRow1.RowCount = 10;
gcMultiRow1.KeyDown += new KeyEventHandler(gcMultiRow1_KeyDown);
}
void gcMultiRow1_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.C && e.Modifiers == Keys.Control)
{
EditingActions.Copy.Execute(gcMultiRow1);
}
}