enum System.Windows.Forms.DataGridViewSelectionMode:

   def enum
      CellSelect = 0
      FullRowSelect = 1
      FullColumnSelect = 2
      RowHeaderSelect = 3
      ColumnHeaderSelect = 4.

end enum.
