asil lisa

asil lisa

  • NA
  • 1
  • 0

Disable all controls in a Wpf Application

Mar 14 2009 7:50 AM

Hello everybody.

I have a WPF application , and i want to disable all controls like textbox, radiobuttons, checkboxes, and buttons. When i click a button i want to disable all other controls and buttons in aplication. how can i do this.   As a reminding, The number of these controls are not known. So i cant use textbox1.IsReadonly = true;  :)   thanks everybody... :D

 


Answers (1)