Files
2dust_v2rayN/v2rayN/v2rayN.Desktop/Views/QrcodeView.axaml
T
DHR60 9664ee380e ViewModel-First (#9621)
* Interaction

* Remove view action

* ViewModel-first

* MainGirdOrientation Hot Reload

* Fix avalonia preview

* Remove CloseWindowInteraction

* Fix

* Avoid threading issues

* Fix

* ProfilesSelect

* Try fix previewer

* Remove AppEvents.ProfilesRefreshRequested

* Remove AppEvents.SubscriptionsRefreshRequested

* Remove AppEvents.ProxiesReloadRequested

* Remove AppEvents.AdjustMainLvColWidthRequested

* Remove AppEvents.SetDefaultServerRequested

* Remove AppEvents.RoutingsMenuRefreshRequested

* Remove AppEvents.TestServerRequested

* Remove AppEvents.InboundDisplayRequested

* Remove AppEvents.SubscriptionsUpdateRequested

* Remove AppEvents.ShowHideWindowRequested

* Remove AppEvents.ReloadRequested

* Remove AppEvents.AddServerRequested

* Fix
2026-07-14 09:05:05 +08:00

32 lines
1.0 KiB
XML

<UserControl
x:Class="v2rayN.Desktop.Views.QrcodeView"
xmlns="https://github.com/avaloniaui"
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:sys="clr-namespace:System;assembly=netstandard"
mc:Ignorable="d">
<UserControl.Resources>
<sys:Double x:Key="QrcodeWidth">400</sys:Double>
</UserControl.Resources>
<Grid Margin="{StaticResource Margin8}" RowDefinitions="Auto,Auto">
<Image
Name="imgQrcode"
Width="{StaticResource QrcodeWidth}"
Height="{StaticResource QrcodeWidth}" />
<TextBox
x:Name="txtContent"
Grid.Row="1"
Width="{StaticResource QrcodeWidth}"
MaxHeight="100"
Margin="{StaticResource MarginTb8}"
VerticalAlignment="Center"
IsReadOnly="True"
TextWrapping="WrapWithOverflow" />
</Grid>
</UserControl>