// Group Caption
style = GroupCaptionCell;
style.Borders.Top = new GridBorder(GridBorderStyle.Solid, SystemColors.ControlDarkDark);
style.BackColor = SystemColors.Control;
style.CellType = "Header";
// Group Caption PlusMinus
style = GroupCaptionPlusMinusCell;
style.Borders.Bottom = GridBorder.Empty;
style.Borders.Top = new GridBorder(GridBorderStyle.Solid, SystemColors.Control);
style.CellType = "PushButton";
style.Enabled = true;
So what you could do is get rid of those settings for by calling
GridTableCellStyleInfo style = this.gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell;
style.ResetBorders();
style.ResetInterior();
style.CellType = "Static";
Stefan
> // Group Caption
> style = GroupCaptionCell;
> style.Borders.Top = new GridBorder(GridBorderStyle.Solid, SystemColors.ControlDarkDark);
> style.BackColor = SystemColors.Control;
> style.CellType = "Header";
>
> // Group Caption PlusMinus
> style = GroupCaptionPlusMinusCell;
> style.Borders.Bottom = GridBorder.Empty;
> style.Borders.Top = new GridBorder(GridBorderStyle.Solid, SystemColors.Control);
> style.CellType = "PushButton";
> style.Enabled = true;
>
>
>So what you could do is get rid of those settings for by calling
>
>
>GridTableCellStyleInfo style = this.gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell;
>style.ResetBorders();
>style.ResetInterior();
>style.CellType = "Static";
>
>
>Stefan
>
demo_5018.zip
>> // Group Caption
>> style = GroupCaptionCell;
>> style.Borders.Top = new GridBorder(GridBorderStyle.Solid, SystemColors.ControlDarkDark);
>> style.BackColor = SystemColors.Control;
>> style.CellType = "Header";
>>
>> // Group Caption PlusMinus
>> style = GroupCaptionPlusMinusCell;
>> style.Borders.Bottom = GridBorder.Empty;
>> style.Borders.Top = new GridBorder(GridBorderStyle.Solid, SystemColors.Control);
>> style.CellType = "PushButton";
>> style.Enabled = true;
>>
>>
>>So what you could do is get rid of those settings for by calling
>>
>>
>>GridTableCellStyleInfo style = this.gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell;
>>style.ResetBorders();
>>style.ResetInterior();
>>style.CellType = "Static";
>>
>>
>>Stefan
>>
>
>demo_5018.zip
>
>
this.gridGroupingControl1.Appearance.GroupCaptionCell.BackColor = this.gridGroupingControl1.Appearance.RecordFieldCell.BackColor;
this.gridGroupingControl1.Appearance.GroupCaptionCell.Borders.Top = new GridBorder(GridBorderStyle.Standard);
this.gridGroupingControl1.Appearance.GroupCaptionCell.CellType = "Static";
Stefan
this.gridGroupingControl1.TableOptions.CaptionRowHeight = this.gridGroupingControl1.TableOptions.RecordRowHeight;
Stefan
> this.gridGroupingControl1.TableOptions.CaptionRowHeight = this.gridGroupingControl1.TableOptions.RecordRowHeight;
>
>
>
>Stefan
>
>> this.gridGroupingControl1.TableOptions.CaptionRowHeight = this.gridGroupingControl1.TableOptions.RecordRowHeight;
>>
>>
>>
>>Stefan
>>