Skip to main content
A newer version of this page is available. .

DataGridView Properties

A data grid view.
Name Description
ActualFilterString Gets the string that specifies a filter currently used in the grid.
AllowCascadeTreeCreation Gets or sets whether the grid performs deferred data loading on start.
AllowCascadeUpdate Gets or sets whether the grid performs deferred data loading while vertical scrolling.
AllowGroupCollapse Specifies whether end users can collapse and expand groups of rows.
AllowSort Specifies whether end users can sort data in the grid.
AutoGenerateColumnsMode Gets or sets whether columns should be automatically created for fields of the underlying data source, depending on whether the grid contains any columns.
BorderColor Gets or sets the grid border color.
BorderThickness Gets or sets the grid border thickness.
CellStyle Gets or sets the data cell appearance settings.
ColumnHeaderContentTemplate Gets or sets the template that defines the visual representation of column headers.
ColumnHeaderHeight Gets or sets the height of column headers in the grid.
ColumnHeaderStyle Gets or sets the column header appearance settings.
Columns Provides access to the grid’s collection of columns.
EditorShowMode Gets or sets a gesture by which a user can invoke an in-place editor for a data cell.
EndSwipeItems Provides access to objects that contain information on action buttons shown on the right side of a data row when a user swipes the row from right to left.
FilterExpression Gets or sets the grid’s filter expression.
FilterString Gets or sets the grid’s filter expression string.
FixedColumnSeparatorWidth Gets or sets the thickness of the line that separates fixed and scrollable columns.
FullSwipeMode Specifies whether a full swipe across the row performs the first action from the grid’s StartSwipeItems or EndSwipeItems collection.
GroupCaptionTemplate Gets or sets the template that defines the visual representation of a group row caption.
GroupCount Gets the number of data row groups within a grid.
GroupRowHeight Gets or sets the height of group rows in the grid.
GroupRowStyle Gets or sets the group row appearance settings.
GroupRowTemplate Gets or sets the template that defines the visual representation of group rows.
GroupSummaries Provides access to the collection of group summary items.
GroupSummaryTemplate Gets or sets the template that defines the visual representation of summary items displayed within group rows.
IndicatorColor Gets or sets the color of the load-more (iOS and Android) and pull-to-refresh (iOS only) indicators.
IsColumnHeaderVisible Specifies whether column headers are shown in the grid.
IsEditing
IsGrouped Gets whether the grid’s data is grouped.
IsHorizontalScrollBarVisible Gets or sets whether the horizontal scrollbar is shown in the grid.
IsLoadMoreEnabled Gets or sets whether the load-more functionality is enabled in the grid.
IsPullToRefreshEnabled Gets or sets whether the pull-to-refresh functionality is enabled in the grid.
IsReadOnly Gets or sets whether the grid is read-only.
IsRefreshing Gets or sets whether the grid shows the refresh indicator that provides the pull-to-refresh activity status.
IsUpdateLocked Gets or sets whether the grid is locked for updating.
IsVerticalScrollBarVisible Gets or sets whether the vertical scrollbar is shown in the grid.
ItemsSource Gets or sets the grid’s data source.
LoadMoreCommand Gets or sets the command executed when a user scrolls to the bottom of the grid to load new data items.
PullToRefreshCommand Gets or sets the command executed when a user pulls the grid down to request content update.
RowCount Gets the number of data rows in the grid.
RowHeight Gets or sets the height of data rows in the grid.
RowTapCommand Gets or sets the command executed when a user taps a row within the grid.
SelectedItem Returns an object that specifies a data source record to which a data row currently selected in the grid corresponds.
SelectedRowHandle Gets or sets the selected row handle.
SelectionMode Gets or sets whether end users can select rows in the grid.
ShowGroupedColumns Gets or sets whether the grid displays a column used to group data.
SortMode Specifies whether the grid allows data sorting by multiple columns or by a single column only.
StartSwipeItems Provides access to objects that contain information on action buttons shown on the left side of a data row when a user swipes the row from left to right.
SwipeItemStyle Gets or sets the swipe item appearance settings.
SwipeItemTemplate Gets or sets the template that defines the visual representation of grid’s swipe items.
TotalSummaries Provides access to the collection of total summary items.
TotalSummaryHeight Gets or sets the total summary panel height.
TotalSummaryStyle Gets or sets the total summary panel appearance settings.
TotalSummaryTemplate Gets or sets the template that defines the visual representation of total summary items.
TotalSummaryVisibility Specifies whether the total summary panel is displayed.
VerticalLineThickness Gets or sets the thickness of the grid’s vertical lines.
VisibleColumns Gets the collection of visible columns.
VisibleRowCount Gets the total number of rows displayed within a grid.
See Also