<AppBarElementContainer
    x:Class="Pixeval.Controls.AppBarTextItem"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:controls="using:CommunityToolkit.WinUI.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:fluent="using:FluentIcons.WinUI"
    xmlns:local="using:Pixeval.Controls"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    Padding="5,0"
    HorizontalContentAlignment="Center"
    VerticalContentAlignment="Center"
    Foreground="{ThemeResource TextFillColorSecondaryBrush}"
    mc:Ignorable="d">
    <controls:DockPanel HorizontalSpacing="5">
        <fluent:SymbolIcon
            VerticalAlignment="Center"
            controls:DockPanel.Dock="Left"
            FontSize="{StaticResource SmallIconFontSize}"
            Symbol="{x:Bind Symbol, Mode=OneWay}" />
        <TextBlock
            HorizontalAlignment="Left"
            FontWeight="SemiBold"
            Style="{StaticResource BaseTextBlockStyle}"
            Text="{x:Bind Text, Mode=OneWay}"
            TextTrimming="CharacterEllipsis"
            TextWrapping="NoWrap" />
    </controls:DockPanel>
</AppBarElementContainer>
