Something went wrong. Try again.
Modular scanner/radio client and multi-broadcast server. uniscan.dexrn.me
Something went wrong. Try again.
1.8 kB · 29 lines
at main
123456789101112131415161718192021222324252627282930<UserControl 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:device="clr-namespace:UniScan.Client.App.Views.Remote.Device" xmlns:ssr="clr-namespace:UniScan.Client.App.Views.SSR" mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450" x:Class="UniScan.Client.App.Views.Remote.Device.DevicePageView" x:DataType="device:DevicePageViewModel"> <DockPanel> <Border Background="{StaticResource SystemControlBackgroundBaseLowBrush}" CornerRadius="5" Padding="5" DockPanel.Dock="Top"> <StackPanel Orientation="Horizontal" Spacing="10"> <Button Command="{Binding RemotePageNavigator.NavigateCommand}" CommandParameter="{x:Null}" VerticalAlignment="Center"> <TextBlock FontFamily="{StaticResource MaterialSymbolsRounded}" Text="arrow_back" FontSize="24" Width="24" Height="24" Margin="0 0 0 0" HorizontalAlignment="Center" VerticalAlignment="Center" TextAlignment="Center" /> </Button> <TextBlock Text="{Binding DeviceViewModel.Device.Name}" FontWeight="Bold" FontSize="16" VerticalAlignment="Center" /> </StackPanel> </Border> <ssr:UISlotControl DataContext="{Binding SSRViewModel}" /> </DockPanel></UserControl>