By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,825 Members | 1,659 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,825 IT Pros & Developers. It's quick & easy.

how to make datagridview look disabled after enabled = false

P: 251
when i do...

dgv.enabled = false

dgv gets disabled as in you are unable to use the control. but it looks enabled because its appearance is still the same. Unlike a textbox which becomes grayed-out.

what is the best way to make it look disabled like a disabled textbox?
Dec 4 '07 #1
Share this Question
Share on Google+
1 Reply

P: 251
i managed to make it look disabled by...

dgv.forecolor = gray
dgv.columnheader.forecolor = gray

but what about a checkbox column? how do i make it look disabled?
Dec 4 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.