Michael Schaper

Results 24 comments of Michael Schaper

Based on the following [article,](https://stackoverflow.com/questions/38337849/transparent-selectionbackcolor-for-datagridview-cell) I solved it this way for now. (see attachment) Helper contains Semi-Alphablending, Hide-Selection and Row-Numbering - this inside the grid with properties would be nice......

Helper based on following articles: Semi-Transparent Selection --> https://stackoverflow.com/questions/38337849/transparent-selectionbackcolor-for-datagridview-cell Hide-Selection the same, but using Cell Color as SelectionColor Auto-Rownumbers --> https://stackoverflow.com/questions/9581626/show-row-number-in-row-header-of-a-datagridview articles uses c# so you can do some work,...

using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Security; using System.Text; using System.Threading.Tasks; using Microsoft.VisualBasic; using System.Drawing; using System.Windows.Forms; using Krypton.Toolkit;`...

Converted my Helper Class to c# with https://converter.telerik.com/ from my current version! Style priorities should be: cell - column - row - default if you put it directly inside event!

Fixed Helper code for Hide Selection cell colors ... With HideSelection (No Selection visible): ![image](https://user-images.githubusercontent.com/42733572/182340944-a1937d7c-8cad-4842-b3e9-517831492560.png) With Transparent (Selection using Selection Colors or Fore/Backcolor): ![image](https://user-images.githubusercontent.com/42733572/182341271-078a74d6-abc3-49bd-a208-f137f1a7df4f.png) Screenshot shows also Row numbers.

Working with the selection i get a little backcolor problem on systemcolors.window - fixed it. `private static void GridSemiTransparentSelection_RowPrePaint(object sender, DataGridViewRowPrePaintEventArgs e) { KryptonDataGridView dataGridView = sender as KryptonDataGridView; foreach...

Add a new feature request for this - solved over inherit... #345