title: Disable event bubbling on selectionchanged event- WPF
body: <p>I have a listbox inside a listview. on Both of them I have selectionchanged event. When I fire child control event parent control fires automatically. I need to stop this behaviour.
  Any hints?
  Thanks!</p>
  
  <pre><code>&lt;ListView Name="listView1"
            ItemContainerStyle="{StaticResource RowStyle}" AlternationCount="2"
            SelectionChanged="listViewTask_SelectionChanged"&gt;
      &lt;ListView.View&gt;
          &lt;GridView&gt;
              &lt;GridViewColumn Width="150"&gt;
                  &lt;GridViewColumnHeader Name="gridViewColumnHeader1"
                                        Click="SortClick" Tag="Style"
                                        Content="Style"
                                        ToolTip="Click to Sort Style"/&gt;
              &lt;GridViewColumn.CellTemplate&gt;
                  &lt;DataTemplate&gt;
                      &lt;ListBox ScrollViewer.VerticalScrollBarVisibility="Hidden"
                               ScrollViewer.HorizontalScrollBarVisibility="Hidden"
                               BorderBrush="White"
                               SelectionChanged="listBox_SelectionChanged" 
                               Name="listbox" ItemsSource="{Binding Text}"
                               Style="{StaticResource Textblockstyle}"
                               ToolTipService.ShowDuration="360000000"&gt;
  </code></pre>
  
  <h2>--</h2>