Ejemplo n.º 1
0
        private void Row_PointerPressed(object sender, PointerRoutedEventArgs e)
        {
            var hitbox = (FrameworkElement)sender;
            var item   = (FileSystemElement)hitbox.Tag;

            var point = e.GetCurrentPoint(hitbox);

            if (point.PointerDevice.PointerDeviceType == PointerDeviceType.Mouse)
            {
                if (point.Properties.IsMiddleButtonPressed && item.IsFolder)
                {
                    RequestedTabOpen?.Invoke(this, item);
                }
            }
        }
Ejemplo n.º 2
0
 private void TableView_RequestedTabOpen(object sender, FileSystemElement e)
 {
     RequestedTabOpen?.Invoke(sender, e);
 }