Files
lagerprogramm/Views/ConfirmDialog.axaml
joel.leirer fb1f90a9ca Added Slop
2026-08-25 17:14:54 +02:00

17 lines
872 B
XML

<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="Lagerprogramm.Views.ConfirmDialog"
Title="Confirm" Width="380" Height="160"
WindowStartupLocation="CenterOwner"
CanResize="False"
Background="{StaticResource ThemeBackgroundBrush}"
Foreground="{StaticResource ThemeForegroundBrush}">
<Grid RowDefinitions="Auto,*" Margin="20">
<TextBlock Grid.Row="0" x:Name="MessageText" Text="Are you sure?" TextWrapping="Wrap" FontSize="14"/>
<StackPanel Grid.Row="1" Orientation="Horizontal" Spacing="10" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,10,0,0">
<Button x:Name="YesButton" Content="Yes" Click="OnYes" Classes="navButton"/>
<Button x:Name="NoButton" Content="No" Click="OnNo"/>
</StackPanel>
</Grid>
</Window>