protected override void OnPointerMoved(PointerRoutedEventArgs e) { if (e.OriginalSource is ListViewItemPresenter) { _parent.OnPointerMoved(this, e); } else if (e.OriginalSource is Grid grid && string.Equals(grid.Name, "ContentPresenterGrid") && !CantSelect()) { _parent.OnPointerMoved(this, e); } base.OnPointerMoved(e); }
protected override void OnPointerMoved(PointerRoutedEventArgs e) { if (e.OriginalSource is ListViewItemPresenter) { _parent.OnPointerMoved(this, e); } base.OnPointerMoved(e); }