I'm trying to get tge amob:AmobCombobox
but it is inside of another stack panel.
If I doToolStackLeft.Children[i]
I get the stackpanels objects. I wanted something like
if (ToolStackLeft.Children[i].Children is AmobComboBox)
{
//DO SOMETHING
}
My Code
<StackPanel Orientation="Horizontal" >
<Label Content="5-" Foreground="White" Margin="0,-2,0,0"/>
<amob:AmobComboBox x:Name="cmbTool10" Width="430" Margin="0,0,35,20" SelectionChanged="cmbTool10_SelectionChanged"/>
</StackPanel>