this.gridGroupingControl1.GridGroupDropArea.PrepareViewStyleInfo += new GridPrepareViewStyleInfoEventHandler(GridGroupDropArea_PrepareViewStyleInfo);
//the handler
private void GridGroupDropArea_PrepareViewStyleInfo(object sender, GridPrepareViewStyleInfoEventArgs e)
{
e.Style.BackColor = Color.Red;
}
2) Make sure the AllowSelections property includes the AlphBlend flag.
gcc.TableOptions.ListBoxSelectionMode = SelectionMode.MultiExtended;
gcc.TableOptions.AllowSelection = GridSelectionFlags.Any;
>this.gridGroupingControl1.GridGroupDropArea.PrepareViewStyleInfo += new GridPrepareViewStyleInfoEventHandler(GridGroupDropArea_PrepareViewStyleInfo);
>
>
>//the handler
>private void GridGroupDropArea_PrepareViewStyleInfo(object sender, GridPrepareViewStyleInfoEventArgs e)
>{
> e.Style.BackColor = Color.Red;
>}
>
>
>2) Make sure the AllowSelections property includes the AlphBlend flag.
>
>gcc.TableOptions.ListBoxSelectionMode = SelectionMode.MultiExtended;
>gcc.TableOptions.AllowSelection = GridSelectionFlags.Any;
>
>
this.gridGroupingControl1.GridGroupDropArea.Dock = DockStyle.Fill;
this.gridGroupingControl1.GridGroupDropArea.Model.Properties.BackgroundColor = Color.Red;
Here is a sample with the alpha blend selection set ok as well as coloring teh drop area.
GGC_9672.zip
>this.gridGroupingControl1.GridGroupDropArea.Dock = DockStyle.Fill;
>this.gridGroupingControl1.GridGroupDropArea.Model.Properties.BackgroundColor = Color.Red;
>
>
>Here is a sample with the alpha blend selection set ok as well as coloring teh drop area.
>GGC_9672.zip
>
>