[]
Returns a Style that is applied to the specified cell.
public Style GetCellStyle(int row, C1DisplayColumn dc, bool ignoreSelection = false, bool ignoreFetchRowStyle = false)
| Type | Name | Description |
|---|---|---|
| int | row | Row index. |
| C1DisplayColumn | dc | Split column. |
| bool | ignoreSelection | Ignore selection style. |
| bool | ignoreFetchRowStyle | Ignore user custom style. |
| Type | Description |
|---|---|
| Style |
The returned value is a copy of actual Style object and it cannot be changed in the event.
Returns the style associated with a given cell.
protected virtual Style GetCellStyle(int row, int col, string celltext, bool global = false)
| Type | Name | Description |
|---|---|---|
| int | row | Row to fetch the style for. |
| int | col | Column to fetch the style for. |
| string | celltext | The text of the cell. |
| bool | global | Ignore user custom style. |
| Type | Description |
|---|---|
| Style |