Xceed DataGrid for WPF v7.2 Documentation
CellEditorDisplayConditions Property (ColumnBase)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > ColumnBase Class : CellEditorDisplayConditions Property
Gets or sets a value indicating under what conditions the editors for the cells contained in the column are displayed.
Syntax
'Declaration
 
Public Property CellEditorDisplayConditions As CellEditorDisplayConditions
'Usage
 
Dim instance As ColumnBase

Dim value As CellEditorDisplayConditions

 

instance.CellEditorDisplayConditions = value

 

value = instance.CellEditorDisplayConditions
public CellEditorDisplayConditions CellEditorDisplayConditions {get; set;}

Property Value

A combination of CellEditorDisplayConditions values indicating under what conditions the editors for the cells contained in the column 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.

Remarks

Including Always when setting the CellEditorDisplayConditions property will have a significant negative impact on performance.

If MouseOverCell and/or MouseOverRow are included, the "resizing" 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.

Setting the CellEditorDisplayConditions property at the column level will override the value of the DataGridControl.CellEditorDisplayConditions property for the specific column only.

Requirements

Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ColumnBase Class
ColumnBase Members