FilePreview use ASCII only, force rerender when item disappears

This commit is contained in:
2023-08-19 12:46:26 +02:00
parent 1b60af389b
commit c9a92f4923
15 changed files with 170 additions and 113 deletions

View File

@@ -79,9 +79,11 @@ public class ItemPreviews
.Setup(t => t.Bind(
t,
dc => dc.TextContent,
t => t.Text)),
t => t.Text,
fallbackValue: string.Empty)),
new TextBlock<IElementPreviewViewModel>
{
Margin = "0 1 0 0",
Extensions = {new GridPositionExtension(0, 1)}
}.Setup(t => t.Bind(
t,