Click here to Skip to main content
15,910,009 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How is it possible disable buttons (that placed in grid) and they activated on a specific button click, and avoing doing it one by one? For example we have 100 buttons on the grid.
Didn't found a way to enable/disable whole grid. Possibly there's more elegant way to do it?
Posted
Comments
Sergey Alexandrovich Kryukov 24-Oct-11 15:44pm    
What grid control do you mean?
--SA

1 solution

How come? All controls have the read/write property Enabled, see http://msdn.microsoft.com/en-us/library/system.windows.forms.control.aspx[^]; in WPF, this is IsEnabled, see http://msdn.microsoft.com/en-us/library/system.windows.controls.control.aspx[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900