ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

CellStyleFlag Enumeration

Describes the disposition of a cell.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[Visual Basic]

Public Enum CellStyleFlag

[C#]

public enum CellStyleFlag

[Delphi]

type CellStyleFlag = (AllCells, CurrentCell, MarqueeRow, NormalCell, SelectedRow, UpdatedCell);

Namespace: C1.Win.C1TrueDBGrid

Assembly: C1.Win.C1TrueDBGrid.2 (in C1.Win.C1TrueDBGrid.2.dll)

Members

Member name

Description

AllCells

All cells.

CurrentCell

The cell is the that currently has focus. At any given time, only one cell can have this status. When the MarqueeStyle property is set to Floating Editor, this condition is ignored.

MarqueeRow

The cell is part of a highlighted row marquee. When the MarqueeStyle property indicates that the entire current row is to be highlighted, all visible cells in the current row have this additional condition set.

NormalCell

The cell satisfies none of the conditions. For grouped rows, this is the only applicable cell style.

SelectedRow

The cell is part of a row selected by the user or in code. The SelectedRowCollection contains the index for each selected row.

UpdatedCell

The cell contents have been modified by the user but not yet written to the datasource. This condition is also set when cell contents have been modified in code with the Text or Value properties.

See Also

C1.Win.C1TrueDBGrid Namespace


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