/
githubmirror
/
Files
Обзор
Документация
Войти
/
githubmirror
/
Files
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Files.App/Views/ShellPanesPage.xaml
40 строк
2 KB
yair100
Feature: Added support for dragging tab to create new pane (#18635)
24 июн 2026, 22:25
Не верифицирован
24 июн 2026, 22:25
cc1491c
Код
Авторство
О чём код?
<!-- Copyright (c) Files Community. Licensed under the MIT License. --> <Page x:Class="Files.App.Views.ShellPanesPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:Files.App.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"> <Page.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="ms-appx:///Styles/DefaultGridSplitterStyle.xaml" /> </ResourceDictionary.MergedDictionaries> <Style BasedOn="{StaticResource DefaultGridSplitterStyle}" TargetType="controls:GridSplitter"> <Setter Target="Width" Value="4" /> <Setter Target="Background" Value="Transparent" /> <Setter Target="Opacity" Value="0" /> <Setter Target="ResizeBehavior" Value="BasedOnAlignment" /> <Setter Target="HorizontalAlignment" Value="Stretch" /> <Setter Target="VerticalAlignment" Value="Stretch" /> </Style> </ResourceDictionary> </Page.Resources> <Grid> <!-- TabFocusNavigation is set to 'once' to prevent focus from auto switching to the next pane --> <Grid x:Name="RootGrid" TabFocusNavigation="Once" /> <Border x:Name="TabDropOverlay" AllowDrop="True" Background="Transparent" DragLeave="TabDropOverlay_DragLeave" DragOver="TabDropOverlay_DragOver" Drop="TabDropOverlay_Drop" Visibility="Collapsed" /> </Grid> </Page>