Click or drag to resize

Grid Properties

The Grid type exposes the following members.

Properties
  NameDescription
Public propertyAllowColumnReordering
Gets or sets a value indicating whether the user can re-order columns
Public propertyAllowEmptySelection
Gets or sets a value indicating that the user can clear the selection.
Public propertyAllowMultipleSelection
Gets or sets a value indicating whether the user can select multiple rows
Public propertyBorder
Gets or sets the border type
Public propertyColumns
Gets the collection of columns to display in the grid
Public propertyGridLines
Gets or sets the style of grid lines to show between columns and rows
Public propertyIsEditing
Gets a value indicating that the current cell is in edit mode.
Public propertyRowHeight
Gets or sets the height for each row in the grid
Public propertySelectedItem
If there is exactly one selected item, returns it, otherwise returns null.
Public propertySelectedItemBinding
Gets a binding object to bind to the SelectedItem property.
Public propertySelectedItems
Gets an enumeration of the currently selected items
Public propertySelectedRow
Gets or sets the selected row, or -1 for none.
Public propertySelectedRows
Gets or sets the selected rows indexes
Public propertyShowHeader
Gets or sets a value indicating that the header should be shown
Top
See Also