/
githubmirror
/
Files
Обзор
Документация
Войти
/
githubmirror
/
Files
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Files.App/Views/Layouts/ColumnsLayoutPage.xaml
44 строки
2 KB
yair100
Feature: Cycle layouts via scroll wheel (#18670)
02 июл 2026, 18:47
Не верифицирован
02 июл 2026, 18:47
7f33eef
Код
Авторство
О чём код?
<!-- Copyright (c) Files Community. Licensed under the MIT License. --> <local:BaseLayoutPage x:Class="Files.App.Views.Layouts.ColumnsLayoutPage" 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:i="using:Microsoft.Xaml.Interactivity" xmlns:local="using:Files.App.Views.Layouts" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" x:Name="PageRoot" HighContrastAdjustment="None" mc:Ignorable="d"> <i:Interaction.Behaviors> <i:EventTriggerBehavior EventName="PointerWheelChanged"> <i:InvokeCommandAction Command="{x:Bind CommandsViewModel.PointerWheelChangedCommand}" /> </i:EventTriggerBehavior> <i:EventTriggerBehavior EventName="PointerPressed"> <i:InvokeCommandAction Command="{x:Bind CommandsViewModel.ItemPointerPressedCommand}" /> </i:EventTriggerBehavior> </i:Interaction.Behaviors> <local:BaseLayoutPage.Resources> <Style TargetType="controls:BladeItem"> <Setter Property="Background" Value="Transparent" /> <Setter Property="CloseButtonVisibility" Value="Collapsed" /> <Setter Property="BorderThickness" Value="0,0,1,0" /> <Setter Property="BorderBrush" Value="{ThemeResource DividerStrokeColorDefaultBrush}" /> <Setter Property="Width" Value="200" /> </Style> </local:BaseLayoutPage.Resources> <controls:BladeView x:Name="ColumnHost" ContextFlyout="{x:Bind BaseContextMenuFlyout}"> <controls:BladeView.ItemContainerTransitions> <TransitionCollection /> </controls:BladeView.ItemContainerTransitions> <controls:BladeItem> <Frame x:Name="MainPageFrame" /> </controls:BladeItem> </controls:BladeView> </local:BaseLayoutPage>