1
0
mirror of https://github.com/proxysu/ProxySU.git synced 2024-11-25 22:56:09 +03:00
ProxySU/ProxySuper.WPF/Views/Xray/XrayConfigView.xaml

112 lines
4.6 KiB
Plaintext
Raw Normal View History

2021-05-22 06:12:26 +03:00
<views:MvxWindow x:Class="ProxySuper.WPF.Views.XrayConfigView"
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:local="clr-namespace:ProxySuper.WPF.Views"
xmlns:views="clr-namespace:MvvmCross.Platforms.Wpf.Views;assembly=MvvmCross.Platforms.Wpf"
xmlns:ctrl="clr-namespace:ProxySuper.WPF.Controls"
xmlns:models="clr-namespace:ProxySuper.Core.Models.Projects;assembly=ProxySuper.Core"
mc:Ignorable="d"
WindowStartupLocation="CenterScreen"
2021-08-20 06:52:45 +03:00
Title="Xray节点配置" Height="600" Width="1000">
2021-05-22 06:12:26 +03:00
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="220" />
</Grid.ColumnDefinitions>
<TabControl Grid.Column="0"
Padding="10"
BorderThickness="1,0,1,0"
BorderBrush="#DDD"
2021-11-27 06:47:31 +03:00
x:Name="TabCtrl"
2021-05-22 06:12:26 +03:00
TabStripPlacement="Left"
SelectionChanged="BuildQrCode">
<TabItem Width="200" Height="40"
2021-08-20 06:52:45 +03:00
Tag="{x:Static models:RayType.VLESS_TCP_XTLS}"
2021-05-22 12:14:27 +03:00
IsEnabled="{Binding Checked_VLESS_TCP_XTLS}"
2021-05-22 06:12:26 +03:00
Header="VLESS-TCP-XTLS">
<ctrl:VLESS_XTLS_Control />
</TabItem>
<TabItem Width="200" Height="40"
2021-08-20 06:52:45 +03:00
Tag="{x:Static models:RayType.VLESS_TCP}"
2021-05-22 12:14:27 +03:00
IsEnabled="{Binding Checked_VLESS_TCP}"
2021-05-22 06:12:26 +03:00
Header="VLESS-TCP-TLS">
<ctrl:VLESS_TCP_TLS_Control />
</TabItem>
<TabItem Width="200" Height="40"
2021-08-20 06:52:45 +03:00
Tag="{x:Static models:RayType.VLESS_WS}"
2021-05-22 12:14:27 +03:00
IsEnabled="{Binding Checked_VLESS_WS}"
2021-05-22 06:12:26 +03:00
Header="VLESS-WebSocket-TLS">
<ctrl:VLESS_WS_TLS_Control />
</TabItem>
<TabItem Width="200" Height="40"
2021-08-20 06:52:45 +03:00
Tag="{x:Static models:RayType.VLESS_KCP}"
2021-05-22 12:14:27 +03:00
IsEnabled="{Binding Checked_VLESS_KCP}"
2021-05-22 06:12:26 +03:00
Header="VLESS-mKCP">
<ctrl:VLESS_KCP_Control />
</TabItem>
2022-11-24 16:07:34 +03:00
<TabItem Width="200" Height="40"
Tag="{x:Static models:RayType.VLESS_QUIC}"
IsEnabled="{Binding Checked_VLESS_QUIC}"
2022-11-24 16:54:52 +03:00
Header="VLESS-QUIC">
2022-11-24 16:07:34 +03:00
<ctrl:VLESS_QUIC_Control />
</TabItem>
2021-06-30 06:56:13 +03:00
<TabItem Width="200" Height="40"
2021-08-20 06:52:45 +03:00
Tag="{x:Static models:RayType.VLESS_gRPC}"
2021-06-30 06:56:13 +03:00
IsEnabled="{Binding Checked_VLESS_gRPC}"
2021-05-22 06:12:26 +03:00
Header="VLESS-gRPC">
<ctrl:VLESS_gRPC_Control />
2021-06-29 13:43:15 +03:00
</TabItem>
2021-05-22 06:12:26 +03:00
<TabItem Width="200" Height="40"
2021-08-20 06:52:45 +03:00
Tag="{x:Static models:RayType.VMESS_WS}"
2021-05-22 12:14:27 +03:00
IsEnabled="{Binding Checked_VMESS_WS}"
2021-05-22 06:12:26 +03:00
Header="VMESS-WebSocket-TLS">
<ctrl:VMESS_WS_TLS_Control />
</TabItem>
<TabItem Width="200" Height="40"
2021-08-20 06:52:45 +03:00
Tag="{x:Static models:RayType.VMESS_KCP}"
2021-05-22 12:14:27 +03:00
IsEnabled="{Binding Checked_VMESS_KCP}"
2021-05-22 06:12:26 +03:00
Header="VMESS-mKCP">
<ctrl:VMESS_KCP_Control />
</TabItem>
2022-11-24 16:07:34 +03:00
<TabItem Width="200" Height="40"
Tag="{x:Static models:RayType.VMESS_QUIC}"
IsEnabled="{Binding Checked_VLESS_QUIC}"
2022-11-24 16:54:52 +03:00
Header="VMESS-QUIC">
2022-11-24 16:07:34 +03:00
<ctrl:VMESS_QUIC_Control />
</TabItem>
2021-05-22 06:12:26 +03:00
<TabItem Width="200" Height="40"
2021-08-20 06:52:45 +03:00
Tag="{x:Static models:RayType.Trojan_TCP}"
2021-05-22 12:14:27 +03:00
IsEnabled="{Binding Checked_Trojan_TCP}"
2021-05-22 06:12:26 +03:00
Header="Trojan-TCP">
<ctrl:Trojan_TCP_Control />
</TabItem>
<TabItem Width="200" Height="40"
2021-08-20 06:52:45 +03:00
Tag="{x:Static models:RayType.ShadowsocksAEAD}"
2021-05-22 12:14:27 +03:00
IsEnabled="{Binding CheckedShadowSocks}"
2021-05-22 06:12:26 +03:00
Header="ShadowSocks">
<ctrl:ShadowSocksControl />
</TabItem>
</TabControl>
<StackPanel Grid.Column="1" >
<Image Width="200" Height="200" x:Name="QrImage" />
<Button Click="SaveImage" Width="100" Content="{DynamicResource SaveAs}" />
</StackPanel>
</Grid>
</views:MvxWindow>