add control for status items
ADD
WalletWasabi.Fluent/Controls/StatusItem.axaml
+<Styles xmlns="https://github.com/avaloniaui"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:c="using:WalletWasabi.Fluent.Controls">
+
+ <Style Selector="c|StatusItem">
+ <Setter Property="Template">
+ <ControlTemplate>
+ <Grid ColumnDefinitions="Auto,*"
+ RowDefinitions="Auto,Auto">
+ <PathIcon Data="{TemplateBinding Icon}" Height="13" Grid.Column="0" Grid.Row="0"
+ HorizontalAlignment="Left" VerticalAlignment="Center"
+ Margin="0 0 5 0" />
+ <TextBlock Grid.Column="1" Grid.Row="0" Text="{TemplateBinding Title}" VerticalAlignment="Center" />
+ <TextBlock Grid.Column="1" Grid.Row="1" Text="{TemplateBinding StatusText}" Opacity="0.6"
+ VerticalAlignment="Center" TextWrapping="Wrap" />
+ </Grid>
+ </ControlTemplate>
+ </Setter>
+ </Style>
+</Styles>

ADD
WalletWasabi.Fluent/Controls/StatusItem.axaml.cs
+using Avalonia;
+using Avalonia.Controls;
+using Avalonia.Media;
+
+namespace WalletWasabi.Fluent.Controls
+{
+ public class StatusItem : ContentControl
+ {
+ public static readonly StyledProperty<string> TitleProperty =
+ AvaloniaProperty.Register<StatusItem, string>(nameof(Title));
+
+ public static readonly StyledProperty<string> StatusTextProperty =
+ AvaloniaProperty.Register<StatusItem, string>(nameof(StatusText));
+
+ public static readonly StyledProperty<Geometry> IconProperty =
+ AvaloniaProperty.Register<StatusItem, Geometry>(nameof(Icon));
+
+ public string Title
+ {
+ get => GetValue(TitleProperty);
+ set => SetValue(TitleProperty, value);
+ }
+
+ public string StatusText
+ {
+ get => GetValue(StatusTextProperty);
+ set => SetValue(StatusTextProperty, value);
+ }
+
+ public Geometry Icon
+ {
+ get => GetValue(IconProperty);
+ set => SetValue(IconProperty, value);
+ }
+ }
+}

add control for status items