Thanks guys for all your effort. I found out below solution.
We have to use control.GetValue(Control.NameProperty)
For Example, In the below code, by tracing mainWindow i.e MovieWindow, I will get Button.
To get the name of the Button, I should do
myKid.GetValue(Control.NameProperty)
This is by using dependecy property GetValue method().
(DependencyObject.GetValue(Control.nameProerty))
dim myKid as DependencyObject = Nothing
for i as integer =0 to VisualTreeHelper.GetChildrenCount(MovieWindow) -1
myKid = VisualTreeHelper.GetChild(MovieWindow,i)
dim controlName as string = myKid.DependecyObjectType.Name
Next
Best Regards,
Vijay