diff --git a/branding/ui-icons/icons.py b/branding/ui-icons/icons.py index 51aa85d7..2ecc1973 100644 --- a/branding/ui-icons/icons.py +++ b/branding/ui-icons/icons.py @@ -123,6 +123,10 @@ I["Triangle"] = (None, "M8 3 L13.5 12.5 H2.5 Z") I["TriangleRight"] = (None, "M5 3 L12 8 L5 13 Z") I["Cross"] = ("M4.5 4.5 L11.5 11.5 M11.5 4.5 L4.5 11.5", None) +# Glyphs that point along the reading direction (arrows, chevrons, start-aligned text lines): mirrored in RTL. +# Everything else (clocks, media controls, the ▶ rendered status, symmetric shapes) never mirrors. +DIRECTIONAL = {"Back", "Forward", "ChevronLeft", "ChevronRight", "ExternalLink", "Jobs", "Logs", "ViewList"} + out = os.path.join(os.path.dirname(__file__), "..", "..", "src", "Titano.Ui", "Icons", "Icons.xaml") with open(out, "w") as f: f.write('\n') f.write('\n') diff --git a/docs/ui/DESIGN.md b/docs/ui/DESIGN.md index 6bcfbea5..fbced7ab 100644 --- a/docs/ui/DESIGN.md +++ b/docs/ui/DESIGN.md @@ -84,7 +84,12 @@ Label column left of controls: 116 px in panels, 180 px in Settings. 16 px, 1.5 px strokes, round caps and joins, `currentColor`, drawn as `PathGeometry` / `DrawingImage` resources in `Titano.App/Icons/Icons.xaml` (source SVGs in `branding/ui-icons/` if generated by a tool). No icon fonts, no emoji in shipped UI (the mockups use a few glyphs -only as placeholders: replace ⟳ ▾ ✕ ■ ❚❚ ≡ with drawn icons). Directional icons mirror in RTL. +only as placeholders: replace ⟳ ▾ ✕ ■ ❚❚ ≡ with drawn icons). Directional icons mirror in RTL: +`IconData.IsDirectional` marks the glyphs that point along the reading direction (back/forward, chevrons +left/right, external link, start-aligned lines); `ui:Bidi.IsDirectional` overrides it for a subtree (a ▶ used +as "next", a chevron on a left-to-right time axis). Every other glyph (clocks, media controls, the ▶ rendered +status) and the brand mark keep their drawn orientation. Photos, previews, charts, numbers, paths and +templates are left-to-right islands (`FlowDirection="LeftToRight"` on the smallest element holding them). ## 6. App icon (`branding/`) diff --git a/i18n/en/Archive.resx b/i18n/en/Archive.resx index 49dfd5a3..8e9dbc0e 100644 --- a/i18n/en/Archive.resx +++ b/i18n/en/Archive.resx @@ -4,7 +4,7 @@ 2.0 System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - Copy into the layout… + Copy into archive… Index in place… {0:N0} sequence changed {0:N0} sequences changed @@ -68,6 +68,7 @@ Close {0:N0} copy {0:N0} copies + The duplicate search stoppedlong Folder {0:N0} group {0:N0} groups @@ -86,6 +87,11 @@ {0} changed after the plan was made.long: error sentence The card or folder {0} is no longer available.long: error sentence The archive changed after this plan was made.long: error sentence + Titano was denied access to the archive.long + A file of the archive could not be read or written.long + The sequence is no longer in the index.long + The index could not be read or written.long + Retry Cancel None found Find @@ -93,10 +99,13 @@ Every sequence verified Every sequence analysed {0} missing · {1} damaged + {0:N0} duplicate group + {0:N0} duplicate groups {0:N0} duplicate frame {0:N0} duplicate frames Analyse Show + Mark copies Find Build Verify @@ -104,6 +113,7 @@ No duplicate frames {0:N0} sequence lacks proxies {0:N0} sequences lack proxies + No copies flagged {0:N0} sequence not analysed {0:N0} sequences not analysed Every sequence has proxies @@ -227,6 +237,7 @@ Restoring {0}…long Archive tree Undated + Health Maintenance View Overview diff --git a/i18n/en/Common.resx b/i18n/en/Common.resx index 7df05c2e..43d62770 100644 --- a/i18n/en/Common.resx +++ b/i18n/en/Common.resx @@ -5,14 +5,21 @@ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Auto + Auto · {0}{0} advisor value + curvecontrol type read by screen readers, lower case + Point {0} of {1}: {2}{0} position; {1} point count; {2} coordinates (Common.CurveReadout) + {0} → {1}invariant; drawn left to right in every language; {0} horizontal value; {1} vertical value {0} d {1} h {0} h {1} m {0} min {0} s + More choices n/a Open Open logs {0} % + Remove + Back to Auto {0} B {0} GB {0} KB diff --git a/i18n/en/Jobs.resx b/i18n/en/Jobs.resx index 9e6c4cd8..1bd5a967 100644 --- a/i18n/en/Jobs.resx +++ b/i18n/en/Jobs.resx @@ -67,6 +67,8 @@ queued running {0} · {1} + {0} → {1}invariant; {0} sequence title; {1} export preset + {0} ← {1}invariant; right-to-left languages: the arrow points from the sequence to the preset this PC Workers {0} / {1} diff --git a/i18n/en/Shell.resx b/i18n/en/Shell.resx index a2ff72aa..af382003 100644 --- a/i18n/en/Shell.resx +++ b/i18n/en/Shell.resx @@ -6,7 +6,10 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Titanoinvariant Ready + Pause job Ready · {0} jobs queued + Ready · {0} job queued{0} count + Ready · {0} jobs queued{0} count About Archive Import @@ -37,4 +40,5 @@ Connect to a server {0} on this network · {1} Welcome to Titano + {0} — {1}{0} program name; {1} screen title diff --git a/i18n/en/Tooltips.resx b/i18n/en/Tooltips.resx index 4f3f4e08..bc7c40c1 100644 --- a/i18n/en/Tooltips.resx +++ b/i18n/en/Tooltips.resx @@ -44,6 +44,7 @@ Keep only the sequences with one tag Queue the light analysis of these sequences Find the duplicate groups + Flag every copy after the first so renders skip it · runs maintenance Find files and rows that do not match Queue proxy generation for these sequences Re-hash the originals of these sequences @@ -74,6 +75,7 @@ Choose the new folder of an archive you moved; its sequences follow Make exactly these changes to folders, sidecars and index · resumes after a crash Change the tags of these sequences in sidecars and index + Run the same action again Incremental scan: new, changed and removed files by modification time and size The selected years and sequences (all when nothing is selected), narrowed by camera, status or tag Run the deep analysis on every sequence in the set @@ -94,7 +96,9 @@ Move this sequence back into its folder and the library, with its settings and renders Re-hash every original and report bit rot · reads the whole archive {0} · Right arrow opens the year, Left arrow closes it + {0} · Left arrow opens the year, Right arrow closes it Dismiss + Close this notice · Esc Open the folder with the log files Return to the advisor's value Read every frame again and refresh the analysis · Ctrl+Shift+A diff --git a/i18n/it/Archive.it.resx b/i18n/it/Archive.it.resx index 42e52d74..71c4a084 100644 --- a/i18n/it/Archive.it.resx +++ b/i18n/it/Archive.it.resx @@ -4,7 +4,7 @@ 2.0 System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - Copia nella struttura… + Copia nell'archivio… Indicizza sul posto… {0:N0} sequenza modificata {0:N0} sequenze modificate @@ -64,6 +64,7 @@ Chiudi {0:N0} copia {0:N0} copie + Ricerca dei doppioni interrotta Cartella {0:N0} gruppo {0:N0} gruppi @@ -81,6 +82,11 @@ {0} è cambiato dopo la creazione del piano. La scheda o cartella {0} non è più disponibile. L'archivio è cambiato dopo la creazione del piano. + Titano non ha accesso all'archivio. + Non è stato possibile leggere o scrivere un file dell'archivio. + La sequenza non è più nell'indice. + Non è stato possibile leggere o scrivere l'indice. + Riprova Annulla Nessuno trovato Cerca @@ -88,10 +94,13 @@ Tutte le sequenze verificate Tutte le sequenze analizzate {0} mancanti · {1} danneggiati + {0:N0} gruppo di doppioni + {0:N0} gruppi di doppioni {0:N0} fotogramma doppio {0:N0} fotogrammi doppi Analizza Mostra + Segna copie Cerca Crea Verifica @@ -99,6 +108,7 @@ Nessun fotogramma doppio {0:N0} sequenza senza proxy {0:N0} sequenze senza proxy + Nessuna copia segnata {0:N0} sequenza non analizzata {0:N0} sequenze non analizzate Ogni sequenza ha i proxy @@ -220,6 +230,7 @@ Ripristino di {0}… Albero dell'archivio Senza data + Stato Manutenzione Vista Panoramica diff --git a/i18n/it/Common.it.resx b/i18n/it/Common.it.resx index 8f944d39..674200b3 100644 --- a/i18n/it/Common.it.resx +++ b/i18n/it/Common.it.resx @@ -5,14 +5,21 @@ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Auto + Auto · {0} + curva + Punto {0} di {1}: {2} + {0} → {1} {0} g {1} h {0} h {1} m {0} min {0} s + Altre scelte n/d Apri Apri log {0}% + Rimuovi + Torna ad Auto {0} byte {0} GB {0} KB diff --git a/i18n/it/Shell.it.resx b/i18n/it/Shell.it.resx index 6da87848..cea2f212 100644 --- a/i18n/it/Shell.it.resx +++ b/i18n/it/Shell.it.resx @@ -5,7 +5,10 @@ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Pronto + Pausa attività Pronto · {0} attività in coda + Pronto · {0} attività in coda + Pronto · {0} attività in coda Informazioni Archivio Importa @@ -36,4 +39,5 @@ Connettiti a un server {0} in questa rete · {1} Benvenuto in Titano + {0} — {1} diff --git a/i18n/it/Tooltips.it.resx b/i18n/it/Tooltips.it.resx index eedf92dc..fe47d697 100644 --- a/i18n/it/Tooltips.it.resx +++ b/i18n/it/Tooltips.it.resx @@ -44,6 +44,7 @@ Tieni solo le sequenze con un tag Metti in coda l'analisi rapida di queste sequenze Trova i gruppi di doppioni + Segna ogni copia dopo la prima perché i render la saltino · esegue la manutenzione Trova file e righe che non corrispondono Metti in coda la creazione dei proxy per queste sequenze Ricalcola l'hash degli originali di queste sequenze @@ -74,6 +75,7 @@ Scegli la nuova cartella di un archivio spostato; le sequenze lo seguono Applica esattamente queste modifiche a cartelle, sidecar e indice · riprende dopo un arresto Cambia i tag di queste sequenze in sidecar e indice + Esegui di nuovo la stessa azione Scansione incrementale: file nuovi, modificati e rimossi per data e dimensione Anni e sequenze selezionati (tutti se nulla è selezionato), ristretti per fotocamera, stato o tag Esegui l'analisi profonda su ogni sequenza della selezione @@ -94,7 +96,9 @@ Riporta questa sequenza nella sua cartella e nella libreria, con impostazioni e render Ricalcola l'hash di ogni originale e segnala i danni · legge tutto l'archivio {0} · Freccia destra apre l'anno, freccia sinistra lo chiude + {0} · Freccia sinistra apre l'anno, freccia destra lo chiude Chiudi + Chiudi questo avviso · Esc Apri la cartella dei file di log Torna al valore consigliato Rilegge ogni fotogramma e aggiorna l’analisi · Ctrl+Maiusc+A diff --git a/src/Titano.App/Archive/ArchiveDialogViewModels.cs b/src/Titano.App/Archive/ArchiveDialogViewModels.cs index 98f9c303..9b938445 100644 --- a/src/Titano.App/Archive/ArchiveDialogViewModels.cs +++ b/src/Titano.App/Archive/ArchiveDialogViewModels.cs @@ -16,13 +16,15 @@ namespace Titano.App.Archiving; /// /// An in-window dialog of the Archive screen: one primary action, one way out. While its action runs, the way out /// stops it when it can be stopped, and is disabled otherwise; the close callback receives the dialog, so a late close -/// never closes another one. +/// never closes another one. A failure stays on screen as one sentence until the next attempt. /// public abstract class ArchiveDialogViewModel : LocalizedViewModel { private readonly Action _close; private bool _isBusy; private string? _busyText; + private string? _errorText; + private string? _errorToolTip; protected ArchiveDialogViewModel(Action close) { @@ -61,11 +63,32 @@ public abstract class ArchiveDialogViewModel : LocalizedViewModel public string? BusyText { get => _busyText; protected set => Set(ref _busyText, value); } + /// Why the last dry run or apply stopped (); null when nothing failed. + public string? ErrorText { get => _errorText; private set => Set(ref _errorText, value); } + + /// The failure as the engine reported it, for the tooltip. + public string? ErrorToolTip { get => _errorToolTip; private set => Set(ref _errorToolTip, value); } + protected void Close() => _close(this); + + protected void ShowError(Exception ex) + { + ErrorText = ArchiveFailures.Cause(ex); + ErrorToolTip = ex.Message; + } + + protected void ClearError() + { + ErrorText = null; + ErrorToolTip = null; + } } -/// A fact of the rebuild dialog ("Sidecars · 412"). -public sealed record DialogFact(string Label, string Value); +/// A fact of the rebuild dialog ("Sidecars · 412"); a path stays left to right, a missing value says why in its tooltip. +public sealed record DialogFact(string Label, string Value, bool IsPath = false, string? Reason = null) +{ + public string ToolTip => Reason ?? Value; +} /// /// "Rebuild index" (BRIEF §12.5): what the rebuild reads — the sidecars on disk, then a full metadata scan of folders @@ -84,7 +107,7 @@ public sealed class RebuildDialogViewModel : ArchiveDialogViewModel Archive = archive; Availability = availability; Indexed = indexed; - _facts = Facts(null); + _facts = Facts(null, availability == ArchiveAvailability.Offline ? Loc.L("Archive.Error.Offline", Formatting.LeftToRight(archive.RootPath)) : null); RebuildCommand = new AsyncRelayCommand(RebuildAsync, () => !IsBusy && availability == ArchiveAvailability.Online); } @@ -98,7 +121,10 @@ public sealed class RebuildDialogViewModel : ArchiveDialogViewModel public string RebuildToolTip => Availability == ArchiveAvailability.Online ? Loc.L("Tooltips.Archive.RebuildStart") : Loc.L("Archive.Blocked.NotOnline"); - /// Counts sequence folders with and without a sidecar (a walk of the archive tree, off the UI thread). + /// + /// Counts sequence folders with and without a sidecar (a walk of the archive tree, off the UI thread). The counts + /// read "Counting…" only while the walk runs; an offline archive or a failed walk leaves "—" with the reason. + /// public async Task CountAsync() { if (Availability == ArchiveAvailability.Offline) return; @@ -107,11 +133,12 @@ public sealed class RebuildDialogViewModel : ArchiveDialogViewModel { var root = Archive.RootPath; var folders = await Task.Run(() => ArchiveScanner.FindSequenceFolders(new ArchivePaths(root))); - FactRows = Facts(folders); + FactRows = Facts(folders, null); } catch (Exception ex) when (ex is IOException or UnauthorizedAccessException) { Log.Warning("archive", "Counting sidecars failed", ex); + FactRows = Facts(null, ArchiveFailures.Cause(ex)); } finally { @@ -120,19 +147,24 @@ public sealed class RebuildDialogViewModel : ArchiveDialogViewModel } /// Shows counts computed elsewhere (capture). - public void ShowFolders(IReadOnlyList folders) => FactRows = Facts(folders); + public void ShowFolders(IReadOnlyList folders) => FactRows = Facts(folders, null); - private IReadOnlyList Facts(IReadOnlyList? folders) + /// The counted folders; null while counting or when they cannot be counted. + /// Why the folders cannot be counted; null while counting. + private IReadOnlyList Facts(IReadOnlyList? folders, string? uncounted) { - var waiting = Loc.L("Archive.Rebuild.Counting"); + DialogFact Count(string label, Func counted) => + folders is not null ? new(label, Formatting.Count(folders.Count(counted))) + : uncounted is not null ? new(label, "—", Reason: uncounted) + : new(label, Loc.L("Archive.Rebuild.Counting")); return [ new(Loc.L("Archive.Rebuild.Archive"), Archive.Name), - new(Loc.L("Archive.Rebuild.Root"), Archive.RootPath), + new(Loc.L("Archive.Rebuild.Root"), Archive.RootPath, IsPath: true), new(Loc.L("Archive.Rebuild.State"), Loc.L("Archive.Availability." + Availability)), new(Loc.L("Archive.Rebuild.Indexed"), Loc.Plural("Shell.Status.Sequences", Indexed)), - new(Loc.L("Archive.Rebuild.Sidecars"), folders is null ? waiting : Formatting.Count(folders.Count(f => f.Sidecar is not null))), - new(Loc.L("Archive.Rebuild.Metadata"), folders is null ? waiting : Formatting.Count(folders.Count(f => f.Sidecar is null))), + Count(Loc.L("Archive.Rebuild.Sidecars"), f => f.Sidecar is not null), + Count(Loc.L("Archive.Rebuild.Metadata"), f => f.Sidecar is null), ]; } @@ -163,6 +195,7 @@ public sealed class RenameDialogViewModel : ArchiveDialogViewModel private readonly Func _applied; private readonly DispatcherTimer _delay = new() { Interval = TimeSpan.FromMilliseconds(400) }; private RenamePlan? _plan; + private string? _planError; private IReadOnlyList _rows = []; private CancellationTokenSource? _planning; @@ -196,7 +229,7 @@ public sealed class RenameDialogViewModel : ArchiveDialogViewModel private string? ApplyBlocker => IsBusy ? Loc.L("Archive.Blocked.Applying") : Template.Error is { } error ? error - : _plan is null ? Loc.L("Archive.Blocked.Planning") + : _plan is null ? _planError ?? Loc.L("Archive.Blocked.Planning") : _plan.Steps.Count == 0 ? Loc.L("Archive.Blocked.NoChanges") : null; @@ -221,14 +254,20 @@ public sealed class RenameDialogViewModel : ArchiveDialogViewModel base.Dispose(); } - /// The dry run of the current template (the engine's plan; nothing changes on disk). - public async Task PlanAsync() + /// The dry run of the current template (the engine's plan; nothing changes on disk); it clears the last failure. + public Task PlanAsync() + { + ClearError(); + return DryRunAsync(); + } + + private async Task DryRunAsync() { _planning?.Cancel(); _plan = null; + _planError = null; Rows = []; - OnPropertyChanged(nameof(SummaryText)); - OnPropertyChanged(nameof(ApplyToolTip)); + OnPlanChanged(); if (Template.HasErrors) return; var cts = _planning = new CancellationTokenSource(); var template = Template.Text; @@ -240,41 +279,57 @@ public sealed class RenameDialogViewModel : ArchiveDialogViewModel if (cts.IsCancellationRequested) return; _plan = plan; Rows = MassRename.Rows(plan, Mode); - OnPropertyChanged(nameof(SummaryText)); - OnPropertyChanged(nameof(ApplyToolTip)); - CommandManager.InvalidateRequerySuggested(); } catch (OperationCanceledException) when (cts.IsCancellationRequested) { + return; } catch (Exception ex) when (ex is ArgumentException or DatabaseException or FormatException) { Log.Warning("archive", "Rename plan failed", ex); - BusyText = ex.Message; + _planError = ArchiveFailures.Cause(ex); + ShowError(ex); } + OnPlanChanged(); + } + + private void OnPlanChanged() + { + OnPropertyChanged(nameof(SummaryText)); + OnPropertyChanged(nameof(ApplyToolTip)); + CommandManager.InvalidateRequerySuggested(); } private async Task ApplyAsync() { if (_plan is not { } plan) return; + ClearError(); IsBusy = true; - var progress = new Progress(n => BusyText = Loc.L("Archive.Rename.Applying", Formatting.Count(n), Formatting.Count(plan.Steps.Count))); + // A tick posted before the apply ended must not bring its progress back. + var progress = new Progress(n => + { + if (IsBusy) BusyText = Loc.L("Archive.Rename.Applying", Formatting.Count(n), Formatting.Count(plan.Steps.Count)); + }); try { await Task.Run(() => _archives.ApplyRenameAsync(plan, progress)); Log.Info("archive", $"{Mode} applied to {plan.Steps.Count} sequence(s)"); await _applied(plan.Steps.Count); Close(); + return; } - catch (Exception ex) when (ex is IOException or UnauthorizedAccessException or StaleRenamePlanException or ArchiveOfflineException) + catch (Exception ex) when (ex is IOException or UnauthorizedAccessException or StaleRenamePlanException or DatabaseException) { Log.Warning("archive", "Rename failed", ex); - BusyText = ex.Message; + ShowError(ex); } finally { IsBusy = false; + BusyText = null; } + // Part of the plan may have been applied, or the archive changed under it: the dry run shows what is left. + await DryRunAsync(); } } @@ -338,6 +393,7 @@ public sealed class RetagDialogViewModel : ArchiveDialogViewModel var changes = Changes(); var run = _run = new CancellationTokenSource(); var done = 0; + ClearError(); IsBusy = true; try { @@ -351,16 +407,17 @@ public sealed class RetagDialogViewModel : ArchiveDialogViewModel await _applied(done); Close(); } - catch (Exception ex) when (ex is IOException or UnauthorizedAccessException or ArgumentException or DatabaseException or ArchiveOfflineException) + catch (Exception ex) when (ex is IOException or UnauthorizedAccessException or ArgumentException or DatabaseException) { Log.Warning("archive", "Retag failed", ex); - BusyText = ex.Message; + ShowError(ex); } finally { _run = null; run.Dispose(); IsBusy = false; + BusyText = null; } } } diff --git a/src/Titano.App/Archive/ArchiveDialogs.xaml b/src/Titano.App/Archive/ArchiveDialogs.xaml index 2f458b81..66ba78f2 100644 --- a/src/Titano.App/Archive/ArchiveDialogs.xaml +++ b/src/Titano.App/Archive/ArchiveDialogs.xaml @@ -3,13 +3,42 @@ xmlns:ui="clr-namespace:Titano.Ui.Controls;assembly=Titano.Ui" xmlns:l="clr-namespace:Titano.Ui.Localization;assembly=Titano.Ui" xmlns:ar="clr-namespace:Titano.App.Archiving" + xmlns:infra="clr-namespace:Titano.App.Infrastructure" xmlns:shell="clr-namespace:Titano.App.Shell"> + + + + + + + + + + + + + + - + - + - - - - - diff --git a/src/Titano.App/Shell/ConfirmDialog.xaml b/src/Titano.App/Shell/ConfirmDialog.xaml index d531860d..7ecc4838 100644 --- a/src/Titano.App/Shell/ConfirmDialog.xaml +++ b/src/Titano.App/Shell/ConfirmDialog.xaml @@ -5,14 +5,17 @@ xmlns:l="clr-namespace:Titano.Ui.Localization;assembly=Titano.Ui" Title="{l:Loc Shell.AppName}" IsDialog="True" ResizeMode="NoResize" SizeToContent="Height" Width="460" - WindowStartupLocation="CenterOwner" ShowInTaskbar="False"> - + WindowStartupLocation="CenterOwner" ShowInTaskbar="False" + AutomationProperties.Name="{Binding Heading}" AutomationProperties.HelpText="{Binding Message}"> + - + @@ -20,7 +23,7 @@ AutomationProperties.Name="{Binding TypedPrompt}" TextChanged="OnTyped" /> -