DataGridView Column Editor


 

The DataGridView Column Editor allows maintenance of columns within a datagridview. The editor consists of two lists and eight buttons.

 

The editor supports nine (9) column types: button, checkbox, combobox, date/time picker, image, link, masked text edit, numeric up/down, and text.

 

The edit window may be resized and a splitter is available to allow resizing the columns list.

 

dgvedit.jpg

 

Editor Lists
The list on the left side of the editor shows any defined columns. The list on right shows the selected column's properties. The selected column is highlighted in the left hand list titled "Columns" and may be changed by clicking the desired column.
OK
The OK button signals that modifications to the datagridview are complete and the datagridview is updated. The editor is then closed.
Cancel
The Cancel button indicates that any modifications to the datagridview should be discarded and the editor closed.
Add
The Add button inserts a new column into the datagridview. The user is prompted for the column name, type, and header text.
Rename
The Rename button allows specification of a new name for the selected column.
Remove
The Remove button deletes the selected column from the datagridview.
Help
The Help button displays this page in a new window.
Up and Down
The Up and Down Arrow buttons located between the two lists of the editor allow the position of the selected column in the button collection to be changed.


about_designer Imagelist Image Editor