I'm looking for a way to find all controls on Window by their type,
for example: find all TextBoxes
, find all controls implementing specific interface etc.
cnetwpf
I'm looking for a way to find all controls on Window by their type,
for example: find all TextBoxes
, find all controls implementing specific interface etc.
Best Answer
This should do the trick
then you enumerate over the controls like so