ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBGrid.FetchCellStyle Event

Occurs whenever a cell is to be rendered and the C1DisplayColumn.FetchStyle is true.

[Visual Basic]

Public Event FetchCellStyle As FetchCellStyleEventHandler

[C#]

public event FetchCellStyleEventHandler FetchCellStyle

[Delphi]

public property FetchCellStyle: FetchCellStyleEventHandler read remove_FetchCellStyle write add_FetchCellStyle;

Remarks

By setting one or more properties of the Style object passed in the FetchCellStyleEventArgs.CellStyle property, the application can change the appearance of individual cells.

The Style.ForegroundImage property of the FetchCellStyleEventArgs.CellStyle property can be set to display distinct bitmaps on a per-cell basis.

Example

For an example using the FetchCellStyle event, see Disabling Editing in a Specified TrueDBGrid Cell.

See Also

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


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