Files
Walleby/Wallet.Avalonia/ItemCategoryNavigationView.axaml
T
TheXamlGuy 24f6e70900 Tweak icons
2024-06-26 18:30:09 +01:00

28 lines
971 B
XML

<ListBoxItem
x:Class="Wallet.Avalonia.ItemCategoryNavigationView"
xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:vm="using:Wallet"
x:DataType="vm:ItemCategoryNavigationViewModel"
ListBoxExtension.IsItemInvokedEnabled="True">
<Interaction.Behaviors>
<AttachedEventTriggerBehaviour RoutedEvent="{x:Static ListBoxExtension.ItemInvokedEvent}">
<InvokeCommandAction Command="{Binding InvokeCommand}" />
</AttachedEventTriggerBehaviour>
</Interaction.Behaviors>
<Grid
Margin="0,6,6,6"
Background="Transparent"
ColumnDefinitions="Auto,*">
<PersonPicture
Grid.Column="0"
Height="40"
DisplayName="{Binding Name}" />
<TextBlock
Grid.Column="1"
Margin="12,0,0,0"
VerticalAlignment="Center"
Text="{Binding Name}" />
</Grid>
</ListBoxItem>