Can someone please provide an example of how to grey out a button control?
I have tried DownloadButton.IsDisabled
and don't know what else to try.
Its simple try this. Click the button that you want to make transparent. Select FlatStyle from Properties and set it to popup Now change the BackColor property to Transparent . This will make the button transparent.
You have an Opacity setting you can change: In Tools -> Options -> Text Editor -> C/C++ -> Formatting you can change the Inactive Code Opacity Percent . Default is 65, change it to something higher. Just set the Disable Inactive Code Opacity to True if you want to cancel this altogether.
DownloadButton.Enabled = false;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With