1
0
mirror of https://github.com/proxysu/ProxySU.git synced 2024-11-23 05:36:08 +03:00
ProxySU/ProxySuper.WPF/Views/Xray/XrayEditorView.xaml

67 lines
2.8 KiB
Plaintext
Raw Normal View History

2021-05-14 14:07:19 +03:00
<views:MvxWindow x:Class="ProxySuper.WPF.Views.XrayEditorView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:views="clr-namespace:MvvmCross.Platforms.Wpf.Views;assembly=MvvmCross.Platforms.Wpf"
xmlns:local="clr-namespace:ProxySuper.WPF.Views"
xmlns:ctrl="clr-namespace:ProxySuper.WPF.Controls"
mc:Ignorable="d"
WindowStartupLocation="CenterScreen"
2021-05-15 06:58:05 +03:00
Icon="/Resources/ProxySU.ico"
2021-05-15 11:45:36 +03:00
BorderThickness="0,1,0,0"
BorderBrush="#EEE"
2021-08-20 06:52:45 +03:00
Title="Xray编辑配置" Height="610" Width="1015">
2021-05-15 11:45:36 +03:00
2021-05-14 14:07:19 +03:00
<Grid>
2021-05-15 06:58:05 +03:00
<Grid.ColumnDefinitions>
2021-05-16 04:12:47 +03:00
<ColumnDefinition Width="310" />
2021-05-15 11:45:36 +03:00
<ColumnDefinition Width="1" />
2021-05-16 04:12:47 +03:00
<ColumnDefinition Width="*" />
2021-05-15 06:58:05 +03:00
</Grid.ColumnDefinitions>
2021-05-14 14:07:19 +03:00
2021-05-15 06:58:05 +03:00
<StackPanel Grid.Column="0" Margin="10">
<ctrl:HostControl />
</StackPanel>
2021-05-14 14:07:19 +03:00
2021-05-15 11:45:36 +03:00
<StackPanel Grid.Column="1" Background="#EEE"></StackPanel>
2021-08-18 12:34:32 +03:00
2021-05-15 11:45:36 +03:00
<StackPanel Grid.Column="2">
2021-05-16 04:12:47 +03:00
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="500" />
<RowDefinition Height="80" />
</Grid.RowDefinitions>
2021-08-18 12:34:32 +03:00
2021-05-16 04:12:47 +03:00
<ScrollViewer Name="scroll"
Padding="10"
Height="500"
Grid.Row="0"
HorizontalScrollBarVisibility="Auto"
VerticalScrollBarVisibility="Auto" >
<ctrl:XraySettingsControl />
</ScrollViewer>
<Border Grid.Row="1"
BorderBrush="#eee"
BorderThickness="0,1,0,0">
2021-08-18 12:34:32 +03:00
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
<Button Content="{DynamicResource Save}"
Command="{Binding SaveCommand}"
HorizontalAlignment="Right"
VerticalAlignment="Center"
Padding="10,5" />
<Button Content="{DynamicResource SaveAndInstall}"
Command="{Binding SaveAndInstallCommand}"
HorizontalAlignment="Right"
VerticalAlignment="Center"
Padding="10,5"
Margin="20,0,40,0" />
</StackPanel>
2021-05-16 04:12:47 +03:00
</Border>
</Grid>
2021-05-15 11:45:36 +03:00
</StackPanel>
2021-05-14 14:07:19 +03:00
</Grid>
</views:MvxWindow>