Skip to main content
A newer version of this page is available. .
All docs
V22.1
.NET 6.0+
  • The page you are viewing does not exist in the .NET Framework 4.5.2+ platform documentation. This link will take you to the parent topic of the current section.
  • The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.

DxGridModel Members

Exposes members of the underlying DxGrid component.

Constructors

Name Description
DxGridModel() For internal use.

Properties

Name Description
AllowGroup Specifies whether users can group grid data.
AllowSelectRowByClick Specifies whether users can select and deselect rows by mouse clicks.
AllowSort Specifies whether users can sort grid data.
AutoCollapseDetailRow Specifies whether an expanded detail row should be automatically collapsed when a user expands another detail row.
AutoExpandAllGroupRows Specifies whether to expand all group rows automatically when the grid loads data or users interact with the grid.
ColumnFooterTemplate Specifies a common template used to display all footer cells in the grid.
ColumnGroupFooterTemplate Specifies a common template for all group footer cells in the Grid.
ColumnHeaderCaptionTemplate Specifies a common template used to display captions of all column headers in the Grid.
ColumnResizeMode Specifies whether and how users can resize grid columns.
Columns Allows you to add Grid columns.
CssClass Specifies the name of a CSS class applied to the grid.
CustomGroup Enables you to implement custom logic used to group data in the grid.
CustomizeCellDisplayText Allows you to customize the text displayed within a cell.
CustomizeEditModel Allows you to create a custom edit model or customize an automatically-generated edit model.
CustomizeElement Allows you to color grid cells and rows according to their values.
CustomizeGroupValueDisplayText Allows you to customize the text displayed within a group.
CustomizeSummaryDisplayText Allows you to customize the summary display text.
CustomSort Allows you to implement custom logic used to sort data in the grid.
CustomSummary Allows you to create custom summary items.
CustomValidators Allows you to declare custom validator components.
Data Specifies an object that supplies Grid data.
DataColumnCellDisplayTemplate Specifies a common template used to display all data column cells in the Grid.
DataColumnCellEditTemplate Specifies a common template used to display all edit row cells in the Grid data columns.
DataColumnGroupRowTemplate Specifies a common template used to display all group rows in the Grid.
DataItemDeleting Fires when a user confirms the delete operation in the delete confirmation dialog.
DetailExpandButtonDisplayMode Specifies when to display master-detail expand buttons.
DetailRowDisplayMode Specifies when to display detail rows in the Grid.
DetailRowTemplate Specifies a template used to display a detail row.
EditCanceling Fires before the edit form or row closes and discards changes.
EditFormButtonsVisible Specifies whether the edit form contains the predefined Save and Cancel buttons.
EditFormTemplate Specifies the template used to display the edit form.
EditMode Specifies how users edit Grid data.
EditModelSaving Fires when a user either submits the edit form or saves changes in the edit row, and validation is passed.
EditNewRowPosition Specifies the position of the edit form used to create new rows.
EditStart Fires before the edit form or row appears.
FooterDisplayMode Specifies when to display the footer in the Grid.
GroupFooterDisplayMode Specifies when to display group footers in the Grid.
GroupSummary Contains group summary items.
HasAllowGroup For internal use.
HasAllowSelectRowByClick For internal use.
HasAllowSort For internal use.
HasAutoCollapseDetailRow For internal use.
HasAutoExpandAllGroupRows For internal use.
HasColumnFooterTemplate For internal use.
HasColumnGroupFooterTemplate For internal use.
HasColumnHeaderCaptionTemplate For internal use.
HasColumnResizeMode For internal use.
HasColumns For internal use.
HasCssClass For internal use.
HasCustomGroup For internal use.
HasCustomizeCellDisplayText For internal use.
HasCustomizeEditModel For internal use.
HasCustomizeElement For internal use.
HasCustomizeGroupValueDisplayText For internal use.
HasCustomizeSummaryDisplayText For internal use.
HasCustomSort For internal use.
HasCustomSummary For internal use.
HasCustomValidators For internal use.
HasData For internal use.
HasDataColumnCellDisplayTemplate For internal use.
HasDataColumnCellEditTemplate For internal use.
HasDataColumnGroupRowTemplate For internal use.
HasDataItemDeleting For internal use.
HasDetailExpandButtonDisplayMode For internal use.
HasDetailRowDisplayMode
HasDetailRowTemplate For internal use.
HasEditCanceling For internal use.
HasEditFormButtonsVisible For internal use.
HasEditFormTemplate For internal use.
HasEditMode For internal use.
HasEditModelSaving For internal use.
HasEditNewRowPosition For internal use.
HasEditStart For internal use.
HasFooterDisplayMode For internal use.
HasGroupFooterDisplayMode For internal use.
HasGroupSummary For internal use.
HasKeyFieldName For internal use.
HasKeyFieldNames For internal use.
HasLayoutAutoLoading For internal use.
HasLayoutAutoSaving For internal use.
HasPageIndex For internal use.
HasPageIndexChanged For internal use.
HasPagerAutoHideNavButtons For internal use.
HasPagerNavigationMode For internal use.
HasPagerPosition For internal use.
HasPagerSwitchToInputBoxButtonCount For internal use.
HasPagerVisible For internal use.
HasPagerVisibleNumericButtonCount For internal use.
HasPageSize For internal use.
HasPageSizeChanged For internal use.
HasPageSizeSelectorAllRowsItemVisible For internal use.
HasPageSizeSelectorItems For internal use.
HasPageSizeSelectorVisible For internal use.
HasPopupEditFormCssClass For internal use.
HasPopupEditFormHeaderText For internal use.
HasRowClick For internal use.
HasRowDoubleClick For internal use.
HasSelectedDataItem For internal use.
HasSelectedDataItemChanged For internal use.
HasSelectedDataItems For internal use.
HasSelectedDataItemsChanged For internal use.
HasSelectionMode For internal use.
HasShowAllRows For internal use.
HasShowAllRowsChanged For internal use.
HasShowFilterRow For internal use.
HasShowGroupedColumns For internal use.
HasShowGroupPanel For internal use.
HasTotalSummary For internal use.
HasUnboundColumnData For internal use.
HasValidationEnabled For internal use.
KeyFieldName Specifies the name of a data field that contains unique identifiers for Grid data items.
KeyFieldNames Specifies the names of data fields that contain key values. The combination of key values forms a unique identifier for a Grid data item.
LayoutAutoLoading Fires when the DxGrid component is initialized and starts to load its layout.
LayoutAutoSaving Fires when the grid’s layout changes.
PageIndex Specifies the active page index.
PageIndexChanged Fires when the grid’s active page index changes.
PagerAutoHideNavButtons Specifies whether arrow navigation buttons are hidden when all numeric buttons are displayed in the pager.
PagerNavigationMode Specifies how users navigate between Grid pages.
PagerPosition Specifies the pager position.
PagerSwitchToInputBoxButtonCount Specifies the number of pages when the pager switches from numeric buttons to the input box in Auto mode.
PagerVisible Specifies whether the Grid displays the pager.
PagerVisibleNumericButtonCount Specifies the maximum number of numeric buttons displayed in the pager.
PageSize Specifies the maximum number of rows displayed on a page.
PageSizeChanged Fires when the page size changes.
PageSizeSelectorAllRowsItemVisible Specifies whether the page size selector contains the All item.
PageSizeSelectorItems Specifies items available in the page size selector.
PageSizeSelectorVisible Specifies whether the Grid displays the page size selector in the pager.
PopupEditFormCssClass Specifies the name of the CSS class applied to the pop-up edit form.
PopupEditFormHeaderText Specifies text displayed in the pop-up edit form’s header.
RowClick Fires when a user clicks a grid row.
RowDoubleClick Fires when a user double clicks a grid row.
SelectedDataItem In single selection mode, specifies the data item that corresponds to the selected Grid row.
SelectedDataItemChanged In single selection mode, fires when another Grid row is selected.
SelectedDataItems In multiple selection mode, specifies data items that correspond to selected Grid rows.
SelectedDataItemsChanged In multiple selection mode, fires when the selection in the Grid changes.
SelectionMode Specifies selection mode.
ShowAllRows Specifies whether the Grid displays all rows on one page.
ShowAllRowsChanged Fires when the ShowAllRows property value changes.
ShowFilterRow Specifies whether the Grid displays the filter row.
ShowGroupedColumns Specifies whether to display grouped columns with other columns in the grid’s data area.
ShowGroupPanel Specifies whether to show the Group Panel.
TotalSummary Contains total summary items.
UnboundColumnData Specifies data for unbound columns.
ValidationEnabled Specifies whether the Grid validates user input in DevExpress data editors located in the edit form or edit row.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also