| Visual Basic (Declaration) | |
|---|---|
Public Property CellEditorDisplayConditions As CellEditorDisplayConditions | |
| C# | |
|---|---|
public CellEditorDisplayConditions CellEditorDisplayConditions {get; set;} | |
Return Value
A combination of CellEditorDisplayConditions values indicating under what conditions the editors for the cells are displayed. By default, CellEditorDisplayConditions.None.
| Member | Description |
|---|---|
| None | A cell's editor is displayed only when the cell is being edited. |
| RowIsBeingEdited | All the cell editors in a row are displayed when one of the cells in a row is being edited. |
| MouseOverCell | A cell's editor is displayed when the mouse passes over a cell. |
| MouseOverRow | All the cell editors in a row are displayed when the mouse passes over a row. |
| RowIsCurrent | All the cell editors in a row are displayed when the row is current. |
| CellIsCurrent | A cell's editor is displayed when it is current. |
| Always | Cell editors are always displayed.
Including this value when setting the CellEditorDisplayConditions property will have a significant negative impact on performance. |
Including Always when setting the CellEditorDisplayConditions property will have a significant negative impact on performance.
If MouseOverCell and/or MouseOverRow are included, the "blinking" effect that can occur if a cell editor's height is larger than the cell or row height, can be prevented by setting the cell or row's MinHeight property, via a style, to the height of the largest cell editor.
Supported Frameworks: Microsoft .NET Framework version 3.5