Each split within the grid contains at least one C1DisplayColumn object. All of the properties related to a column’s display are contained under this object. Unlike the C1DataColumn properties, the properties of the C1DisplayColumn object are split-specific. Changing a C1DisplayColumn property will change that value for only the specified column inside the specified split. The object can be accessed as follows:
Me.C1TrueDBGrid1.Splits(0,0).DisplayColumns(0).Style.ForeColor = System.Drawing.Color.Blue
· C#
this.C1TrueDBGrid1.Splits[0,0].DisplayColumns[0].Style.ForeColor = System.Drawing.Color.Blue;
· Delphi
Self.C1TrueDBGrid1.Splits[0,0].DisplayColumns[0].Style.ForeColor := System.Drawing.Color.Blue;
See Also
Using the C1DisplayColumnCollection Editor
Reference Topics
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |