Hi, I'd like to loop through the controls within a TabItem. my xaml is something like
TabControl TabItem ScrollViewer Grid
I have tried
TabItem ti = TabControl.Selected as TabItem
foreach (UIElement control in ti)
...
Which causes an error
Basically I would like to get to the ScrollViewer Content or Grid
Any ideas????