Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Data Grid View Button Column Style

$
0
0

i'm using a data grid view to show some data. The style is configured so there is no border, or grid lines, or header styles. I would also like to add a button column. When doing this I select button flat appearance as flat, but I do not seem to be able to remove the border around the button, or even set it to the same as the background colour (white).

Ideally I would like the button to have a small margin between it and the cell.

You will not see this margin until you select the row; when the row is highlighted the button will remain white, but the cell back ground will change colour - if that makes sense!

if anyone could point me in the right direction that would be most appreciated!

Failing that is it possible to just add a standard button control to a cell?


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>