private void OnClick(object sender, RoutedEventArgs e) { if (e.OriginalSource != this) { e.Handled = true; } }