Something went wrong. Try again.
Modular scanner/radio client and multi-broadcast server. uniscan.dexrn.me
Something went wrong. Try again.
1.3 kB · 19 lines
at main
1234567891011121314151617181920<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:asyncImageLoader="clr-namespace:AsyncImageLoader;assembly=AsyncImageLoader.Avalonia" xmlns:remote="clr-namespace:UniScan.Client.App.Views.Remote" xmlns:properties="clr-namespace:UniScan.Client.App.UI.Properties" mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450" x:Class="UniScan.Client.App.Views.Remote.RemoteLinkControl" x:DataType="remote:RemoteLinkControlViewModel"> <HyperlinkButton NavigateUri="{Binding Link.Url}"> <StackPanel Orientation="Horizontal" Spacing="10"> <Border IsVisible="{Binding Link.IconUrl, Converter={x:Static ObjectConverters.IsNotNull}}" CornerRadius="10" VerticalAlignment="Center"> <Image asyncImageLoader:ImageLoader.Source="{Binding Link.IconUrl}" Width="32" Height="32" /> </Border> <TextBlock properties:TextBlockTextComponentProperty.TextComponent="{Binding Link.Name}" VerticalAlignment="Center" /> </StackPanel> </HyperlinkButton></UserControl>