Grid Class |
Namespace: Eto.Forms
The Grid type exposes the following members.
Name | Description | |
---|---|---|
Grid |
Initializes a new instance of the Grid class.
| |
Grid(GridIHandler) |
Initializes a new instance of the Grid class with the specified handler
|
Name | Description | |
---|---|---|
AllowColumnReordering |
Gets or sets a value indicating whether the user can re-order columns
| |
AllowEmptySelection |
Gets or sets a value indicating that the user can clear the selection.
| |
AllowMultipleSelection |
Gets or sets a value indicating whether the user can select multiple rows
| |
Border |
Gets or sets the border type
| |
Columns |
Gets the collection of columns to display in the grid
| |
GridLines |
Gets or sets the style of grid lines to show between columns and rows
| |
IsEditing |
Gets a value indicating that the current cell is in edit mode.
| |
RowHeight |
Gets or sets the height for each row in the grid
| |
SelectedItem |
If there is exactly one selected item, returns it, otherwise
returns null.
| |
SelectedItemBinding |
Gets a binding object to bind to the SelectedItem property.
| |
SelectedItems |
Gets an enumeration of the currently selected items
| |
SelectedRow |
Gets or sets the selected row, or -1 for none.
| |
SelectedRows |
Gets or sets the selected rows indexes
| |
ShowHeader |
Gets or sets a value indicating that the header should be shown
|
Name | Description | |
---|---|---|
BeginEdit |
Begin to edit one cell
| |
CancelEdit |
Cancels the current edit operation and reverts the cell value to the value in the model.
| |
CommitEdit |
Commits a current edit operation and sets the current value to the model.
| |
GetCallback |
Gets an instance of an object used to perform callbacks to the widget from handler implementations
(Overrides ControlGetCallback.) | |
OnCellClick |
Raises the CellClick event.
| |
OnCellDoubleClick |
Raises the CellDoubleClick event.
| |
OnCellEdited |
Raises the CellEdited event
| |
OnCellEditing |
Raises the CellEditing event
| |
OnCellFormatting |
Raises the CellFormatting event
| |
OnColumnHeaderClick |
Raises the ColumnHeaderClick event
| |
OnSelectionChanged |
Raises the SelectionChanged event
| |
ScrollToRow |
Scrolls to show the specified row in the view
| |
SelectAll |
Selects all rows
| |
SelectRow |
Selects the row to the specified row, clearing other selections
| |
UnselectAll |
Clears the selection
| |
UnselectRow |
Unselects the specified row |
Name | Description | |
---|---|---|
CellClick |
Occurs when an individual cell is clicked.
| |
CellDoubleClick |
Occurs when an individual cell is double clicked.
| |
CellEdited |
Occurs after a cell has been edited
| |
CellEditing |
Occurs before a cell is being edited to allow canceling based on application logic
| |
CellFormatting |
Occurs when each cell is being formatted for font and color
| |
ColumnHeaderClick |
Occurs when the column header has been clicked by the user
| |
SelectedItemsChanged |
Occurs when the SelectedItems is changed.
| |
SelectedRowsChanged |
Occurs when the SelectedRows is changed.
| |
SelectionChanged |
Occurs when the user has changed the selection in the grid
|
Name | Description | |
---|---|---|
CellClickEvent |
Event identifier for the CellClick event.
| |
CellDoubleClickEvent |
Event identifier for the CellDoubleClick event.
| |
CellEditedEvent |
Event identifier for handlers when attaching the CellEdited event
| |
CellEditingEvent |
Event identifier for handlers when attaching the CellEditing event
| |
CellFormattingEvent |
Event identifier for handlers when attaching the CellFormatting event
| |
ColumnHeaderClickEvent |
Event identifier for handlers when attaching the ColumnHeaderClick event
| |
SelectionChangedEvent |
Event identifier for handlers when attaching the SelectionChanged event
|