Edit this page

Commonly Used Properties

RadGridView

Property Description
ShowColumnHeaders Gets or sets a value indicating whether the column headers are visible.
MasterView Gets the top-most GridViewInfo level of the grid. This class contains logical information about visual presentation of flat tabular data in RadGridView.
ChildRows This collection contains the Rows that currently visible in the grid. More information is available here
IsCurrentRowDirty Gets a value indicating whether the current row has changes that are not committed.
StandardTab Gets or sets a value indicating whether the TAB key moves the focus to the next control in the tab order rather than moving focus to the next cell in the control.
EnterKeyMode Gets or sets value specifying the behavior when the user presses Enter.
AutoSizeRows Gets or sets a value indicating whether row height in a RadGridView will expand for multiline cell text.

GridViewTableElement

The following table list the properties exposed by RadGridView.TableElement:

Property Description
RowHeight Gets or sets the height of all data rows.
TableHeaderHeight Gets or sets the column headers row height.
GroupHeaderHeight Gets or sets the group header row height.
FilterRowHeight Gets or sets the height of the filter row.
SearchRowHeight Gets or sets the height of the search row.
ChildRowHeight Gets or sets the row height of the child rows in a hierarchical grid.
CellSpacing Gets or sets the cell spacing.
RowSpacing Gets or sets the row spacing.
RowHeaderColumnWidth Gets or sets the width of the GridViewRowHeaderColumn row header column.
TreeLevelIndent Gets or sets the value that determines the indent width among expander primitives in self-reference hierarchy.
GroupIndent Gets or sets the width of the GridViewIndentColumn group indent column.
NewRowHeaderImage Gets or sets a row header image for new row.
SearchRowHeaderImage Gets or sets a row header image for search row.
EditRowHeaderImage Gets or sets a row header image for editing current row.
ErrorRowHeaderImage Gets or sets a row header image for row with error.
CurrentRowHeaderImage Gets or sets a row header image for current row.
MenuThemeName Gets or sets a value indicating the name of the theme for the context menu in the current GridTableElement.
ScrollBarThemeName Gets or sets a value indicating the name of the theme for the scroll bars in the current GridTableElement.
ShowSelfReferenceLines Gets or sets a value indicating whether to show lines in self reference mode.

Methods

Begin/End Update

The Begin/End Update block should be used when a repeated operation that affects grid layout is performed several times. This block will suspend the grid layout and it will be updated only once when the EndUpdate method is called. An example is available here