Files
YKanBan/YKanBan/Views/Dialogs/MessageDialog.axaml
T
doyaGu e3f58ce150 feat: implement board tab with dialogs, virtualized card lists and refresh-after-write
- board: columns in id order, per-column sort via config, column width presets (240/320/480) and custom 160-720
- column header new-card and edit/delete menu; card menu delete and move-to-column
- card editor as one unit of work with dirty check and discard confirmation; nested tag picker writes new tags immediately
- schema constraint violations mapped to typed exceptions and shown inside the modal
- dialog service with owner stack so nested modals center on their parent and get FlowDirection
- repository: filtered GetCards, CountCards; view-model tests
2026-10-03 03:33:25 -04:00

20 lines
1.1 KiB
XML

<dialogs:DialogWindow xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:vm="using:YKanBan.ViewModels.Dialogs"
xmlns:dialogs="using:YKanBan.Views.Dialogs"
xmlns:lang="using:YKanBan"
x:Class="YKanBan.Views.Dialogs.MessageDialog"
x:DataType="vm:MessageDialogViewModel"
Title="{Binding Title}"
MinWidth="360" MaxWidth="560"
WindowStartupLocation="CenterOwner">
<StackPanel Margin="20" Spacing="12">
<TextBlock Text="{Binding Message}" TextWrapping="Wrap"/>
<SelectableTextBlock Text="{Binding Details}" IsVisible="{Binding HasDetails}"
TextWrapping="Wrap" FontSize="12" Opacity="0.7"/>
<Button Content="{x:Static lang:Resources.Common_Ok}" Command="{Binding OkCommand}"
HorizontalAlignment="Right" MinWidth="90" IsDefault="True" IsCancel="True"/>
</StackPanel>
</dialogs:DialogWindow>