Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
20036 | Oct 8,2004 08:27 AM UTC | Oct 8,2004 01:43 PM UTC | WinForms | 8 |
![]() |
Tags: Grouping |
// 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
>> This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.