Last active
March 15, 2022 15:51
-
-
Save k0bakatsu/0ba97d64666a633b217e845d9c4e0477 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Draw the disabled button text. | |
if (this.FormattedValue is String) | |
{ | |
TextRenderer.DrawText(graphics, | |
(string)this.FormattedValue, | |
this.DataGridView.DefaultCellStyle.Font, | |
buttonArea, SystemColors.GrayText); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment