Search
PropertyGridContent Members
Constructors Properties Methods Events
 


Represents a content grid in a PropertyGrid control.

The following tables list the members exposed by the PropertyGridContent type.

 Public Constructors

  Name Description

PropertyGridContent

Initializes a new instance of the PropertyGridContent class.

 Public Properties

  Name Description

activeEditor

Gets the active editor.

allowCellSelect

Gets or sets a value, indicating whether single cell selection is enabled.

allowEdit

Gets or sets a value, indicating whether inplace editing is enabled.

allowScroll

Gets or sets a value, indicating whether scrolling is enabled.

contentClientHeight

Gets the height of rows viewport minus the horizontal scrollbar height.

contentHeight

Gets the height of rows viewport.

editReadonlyProperties

Gets a value indicating whether properties that don't have setters can be edited.

focusedCell

Gets the active grid cell.

model

Gets or sets the effective data model of this grid.

scrollRow

Gets or sets the index of the first visible row.

selectedCells

Gets the selected cells.

showAllProperties

Gets a value indicating whether to enumerate the properties that don't have setters.

showReadonlyProperties

Gets a value indicating whether to enumerate the properties that don't have setters.

sortAscending

Gets or sets a value, indicating whether the sorting is in Ascending order.

sortedColumn

Gets or sets the index of the column, by which the data is sorted.

 Public Methods

  Name Description

adjust

Recalculates grid's dimensions.

attach

Control.attach override.

bringIntoView

Ensures that the specified row is visible.

detach

Control.detach override.

disposeActiveEditor

Disposes the active grid cell editor.

disposeContextMenu

Disposes the current context menu.

draw

Control.draw override.

focusCell

Sets the focus to the cell at the specified position.

getCellElement

Gets the DOM element of the cell in the specified coordinates.

getColumnWidth

Gets the width of the specified grid column.

getKeyRow

Gets the row with the specified key.

getRowElement

Gets the DOM element of the specified row.

getRowKey

Gets the key of the row at the specified index.

groupByColumn

Groups by the specified column.

isRowVisible

Checks if the row at the specified index is currently visible.

rebind

Refreshes the grid after external modifications to the grid model.

refresh

Repaints the grid contents.

refreshRows

Repaints a range of rows.

selectCell

Selects the cell at the specified position.

selectRows

Selects the rows in the specified range.

setColumnWidth

Sets the width of the first grid column.

sortByColumn

Sorts by the specified column and sort direction.

 Public Events

  Name Description

cellSelected

Raised when a cell is selected.

cellSelecting

Raised before a cell is selected.

columnSorted

Raised when a column is sorted.

groupingChanged

Raised when a column is sorted.

rowCreated

Raised when a new row is created.

rowCreating

Raised before a new row is created.

rowDeleted

Raised when a row is deleted.

rowDeleting

Raised before a row is deleted.

rowExpanded

Raised when a row is expanded.

rowExpanding

Raised before a row is expanded.

rowLoading

Raised when a row data is loading.

rowRendered

Raised when a row is rendered.

rowSelected

Raised when a row is selected.

rowSelecting

Raised before a row is selected.

rowUpdated

Raised when a row is updated.

rowUpdating

Raised before a row is updated.

 See Also