ComponentOne List 8.0 for ActiveX
FetchStyle Property

 

FetchStyle Property

If True, the FetchCellStyle event will be fired as needed to determine the font and color characteristics of each cell in the associated column.

Syntax

column.FetchStyle= boolean

Remarks

Read/Write at run time and design time.

Property applies to Column object.

If False (the default), the FetchCellStyle event will not be fired.

Set this value to True when you need to perform complex per-cell formatting operations that can only be done using the FetchCellStyle event. For example, if you want to apply fonts and/or colors to cells within a certain range, or cells that satisfy a complex expression, then you need to set FetchStyle to True for the desired column(s) and write code for the FetchCellStyle event.

Note: If you want to apply the same formatting to all cells within a row, then you should set the FetchRowStyle property instead of FetchStyle, and write code for the FetchRowStyle event instead of FetchCellStyle. This is much more efficient because events are fired on a per-row rather than on a per-cell basis.

See Also

Column Object, Columns Collection

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback