Gets or sets the Style object that controls the appearance of the cell editor within a grid.
[Visual Basic]
Public Property EditorStyle As C1.Win.C1TrueDBGrid.Style
[C#]
public C1.Win.C1TrueDBGrid.Style EditorStyle {get;set;}
[Delphi]
public property EditorStyle: C1.Win.C1TrueDBGrid.Style read get_EditorStyle write set_EditorStyle;
Example
The following code sets the text color of the cell editors to Navy:
Me.C1TrueDBGrid1.EditorStyle.ForeColor = Color.Navy
· C#
this.c1TrueDBGrid1.EditorStyle.ForeColor = Color.Navy;
· Delphi
Self.C1TrueDBGrid1.EditorStyle.ForeColor := Color.Navy;
See Also
C1TrueDBGrid Class | C1TrueDBGrid Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |