Xceed Toolkit Plus for WPF v5.1 Documentation
Xceed.Wpf.DataGrid.Toolkit Assembly / Xceed.Wpf.DataGrid Namespace / DataGridControl Class / CellEditorDisplayConditions Property


In This Topic
    CellEditorDisplayConditions Property (DataGridControl)
    In This Topic
    Gets or sets a value indicating under what conditions the editors for the cells are displayed.
    Syntax
    'Declaration
     
    
    Public Property CellEditorDisplayConditions As CellEditorDisplayConditions
    'Usage
     
    
    Dim instance As DataGridControl
    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 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 "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

    .NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.

    .NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also