Turn off the WinGrid ActiveRowAppearance

Jason Beres / Saturday, February 28, 2009

When you place a new UltraWinGrid on a form, it loads a default Preset. This preset applies an ActiveRowAppearance and an ActiveCellAppearance to the grid which make the ActiveRow appear with the same colors as a selected row.

Note that this behavior does not affect selection in any way. To control row selection in the grid, you should use the SelectTypeRow property on the Override. To turn off this appearance on the active row, open up the property grid window in Visual Studio and go to the UltraWinGrid's properties.

  1. Expand DisplayLayout
  2. Expand Override
  3. Go to the ActiveRowAppearance property. Right click on this property in the property grid and click Reset.
  4. Go to the ActiveCellAppearance property and repeat steps 1 thru 3