Back to Devexpress

GridCustomizeElementEventArgs.ElementType Property

blazor-devexpress-dot-blazor-dot-gridcustomizeelementeventargs-e3998956.md

latest6.3 KB
Original Source

GridCustomizeElementEventArgs.ElementType Property

Specifies an element type.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
public GridElementType ElementType { get; }

Property Value

TypeDescription
GridElementType

A GridElementType enumeration value.

|

Available values:

Show 44 items

NameDescription
DataRow

A data row.

| | DataCell |

A data column cell.

| | CommandCell |

A command column cell.

| | SelectionCell |

A selection column cell.

| | EmptyBandCell |

A band‘s empty data cell.

| | GroupRow |

A group row.

| | GroupCell |

A group row cell.

| | EditRow |

An edit row.

| | EditCell |

A cell displayed in the edited row.

| | EditCommandCell |

A command column cell displayed in the edited row.

| | EditSelectionCell |

A selection column cell displayed in the edited row.

| | EditFormCell |

An edit form cell.

| | PopupEditForm |

A popup edit form.

| | DetailCell |

A detail row cell.

| | FilterRow |

The filter row.

| | FilterCell |

A filter row‘s edit cell.

| | FilterCommandCell |

A filter row‘s command column cell.

| | FilterSelectionCell |

A filter row‘s selection column cell.

| | HeaderRow |

The row that contains Grid column headers.

| | HeaderCell |

A data column header cell.

| | HeaderCommandCell |

A command column header cell.

| | HeaderSelectionCell |

A selection column header cell.

| | HeaderBandCell |

A band‘s header cell.

| | GroupPanel |

The group panel.

| | GroupPanelHeader |

A column header in the group panel.

| | FooterRow |

The footer.

| | FooterCell |

A footer cell.

| | FooterCommandCell |

The footer‘s command column cell.

| | FooterSelectionCell |

The footer‘s selection column cell.

| | FooterBandCell |

A band‘s footer cell.

| | GroupFooterRow |

A group footer.

| | GroupFooterCell |

A group footer cell.

| | GroupFooterCommandCell |

A group footer‘s command column cell.

| | GroupFooterSelectionCell |

A group footer‘s selection column cell.

| | GroupFooterBandCell |

A band‘s group footer cell.

| | ColumnChooserItem |

A column chooser item.

| | PagerContainer |

A container that stores the Grid pager.

| | SearchBoxContainer |

A container that stores the Grid search box.

| | ToolbarContainer |

A container that stores the Grid toolbar.

| | DragHint |

A drag hint.

| | RowDragAnchorCell |

A drag anchor.

| | EmptyDataArea |

An empty data area.

| | EditNewItemRow |

A new item row.

| | FilterPanel |

The filter panel.

|

Remarks

For additional information and examples, refer to the CustomizeElement event’s description.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ElementType property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

blazor-kanban-board/CS/BlazorKanban/Components/DxKanban/DxKanbanColumnGrid.razor.cs#L17

csharp
private void ApplyCssClassesToDragAnchorsAndHints(GridCustomizeElementEventArgs e) {
    switch(e.ElementType) {
        case GridElementType.RowDragAnchorCell:

See Also

GridCustomizeElementEventArgs Class

GridCustomizeElementEventArgs Members

DevExpress.Blazor Namespace