tags:

views:

33

answers:

1

Hi, I have some xam controls on wpf form. i want to count the control, how much controls on the form? in cs file and also check their type either control is text box or combo box or etc. plz help, its urgent

+1  A: 

Use System.Windows.Media.VisualTreeHelper.GetChildrenCount() and GetChild()

gimalay
thanks, i will check and let u know