セルに対してWindowsのビジュアル スタイルが有効のとき、背景色はボタンやヘッダに対して表示されません。ビジュアル スタイルを適用している状態で背景色を有効にするには、ButtonCell.FlatStyleプロパティ(
ButtonCellBase.FlatStyleプロパティ)をStandard、ButtonCell.UseVisualStyleBackColorプロパティ(
ButtonCellBase.UseVisualStyleBackColorプロパティ)をFalseに設定します。
Imports GrapeCity.Win.MultiRow
Dim ButtonCell1 As New ButtonCell()
ButtonCell1.FlatStyle = FlatStyle.Standard
ButtonCell1.UseVisualStyleBackColor = False
ButtonCell1.Style.BackColor = Color.Blue
ButtonCell1.Value = "ButtonCell1"
GcMultiRow1.Template = Template.CreateGridTemplate(New Cell() {ButtonCell1})
using GrapeCity.Win.MultiRow;
ButtonCell buttonCell1 = new ButtonCell();
buttonCell1.FlatStyle = FlatStyle.Standard;
buttonCell1.UseVisualStyleBackColor = false;
buttonCell1.Style.BackColor = Color.Blue;
buttonCell1.Value = "buttonCell1";
gcMultiRow1.Template = Template.CreateGridTemplate(new Cell[] { buttonCell1 });