ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

Split.EditorStyle Property

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 editor's font color to DarkViolet in the second split:

·      Visual Basic

       Me.C1TrueDBGrid1.Splits(1).EditorStyle.ForeColor = Color.DarkViolet

·      C#

       this.c1TrueDBGrid1.Splits[1].EditorStyle.ForeColor = Color.DarkViolet;

·      Delphi

       Self.C1TrueDBGrid1.Splits[1].EditorStyle.ForeColor := Color.DarkViolet;

See Also

Split Class | Split Members | C1.Win.C1TrueDBGrid Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.