In my app I have a grid splitter that hides out on the left. When the user hovers over it it expands to show the user a TOC with a bunch of tabs.This works fine....I then creates a few stack panels on the first tab and am running into an issue here...The below has a radio button that when clicked expands further options. This works fine.In the part that expands there is Textbox, Textblock, and a Combobox.Everything seems to be alright untill I click on the Combobox...When I do it closes the stackpanel that was created with the grid splitter....I can click in textblox fine and type in data...but the ComboBox is closing everythign up...Any thoughts?
<!-- SNIP -->
<StackPanel x:Name="SearchRadion1" Height="Auto" Width="185" Orientation="Vertical" Margin="5,0,0,5" HorizontalAlignment="Left" >
<Grid x:Name="SearchRadioGrid1" HorizontalAlignment="left" VerticalAlignment="Top" Margin="0,2,0,0" MouseEnter="TurnOnStreets">
<RadioButton x:Name="Search_3a" IsChecked="False" VerticalAlignment="Center" Checked="OpenRadioButtonSearchWindow" Margin="5,0,0,10" Foreground="White" GroupName="Layers2" Content="Search by Address" Tag="1"/>
</Grid>
<StackPanel Name="SearchRadioPanel1" Orientation="Vertical" Visibility="Collapsed" Height="Auto" Width="185" Margin="10,5,0,0">
<StackPanel Orientation="Vertical" >
<StackPanel Orientation="Vertical" >
<TextBox x:Name="FindAddressSearch" Background="White" Margin="15,0,0,0" Text="12800 Arbor Lake Blvd" Height="20" VerticalAlignment="Center" Width="250" HorizontalContentAlignment="Left" />
<TextBlock Name="AddressSearch1" Width="250" Height="4" Margin="15,0,0,0" Text="" HorizontalAlignment="Center" Foreground="Black" />
<TextBlock Name="AddressSearch2" Width="250" Height="20" Margin="15,0,0,0" Text="ex. 12800 Arbor Lakes Blvd" HorizontalAlignment="Left" Foreground="Black" />
</StackPanel>
<StackPanel Orientation="Vertical">
<ComboBox x:Name="DropDownDistance" Width="120" Margin="15,0,0,0" Height="20" SelectionChanged="DropDownDistanceSelection" SelectedIndex="0">
<ComboBoxItem Content="1/4 Mile(s)" />
<ComboBoxItem Content="1/2 Mile(s)" />
<ComboBoxItem Content="3/4 Mile(s)" />
<ComboBoxItem Content=" 1 Mile(s)" />
<ComboBoxItem Content=" 5 Mile(s)" />
</ComboBox>
</StackPanel>
</StackPanel>
</StackPanel>
</StackPanel>
<!-- SNIP -->