Skip to content

Commit c689456

Browse files
authored
Update text-rendered-custom-textblock-defects-remaining-image.md
Edit review per CI 6383
1 parent 5201041 commit c689456

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

support/developer/dotnet/framework/general/text-rendered-custom-textblock-defects-remaining-image.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
---
2-
title: Text Rendering Issue when a TextBlock is the Child of a Viewbox
3-
description: This article helps you troubleshoot a TextBlock displaying artifacts of old text when the TextBlock is the child of a Viewbox.
2+
title: Text Rendering Issue if a TextBlock is the Child of a Viewbox
3+
description: This article helps you troubleshoot a TextBlock that displays artifacts of old text if the TextBlock is the child of a Viewbox.
44
ms.date: 07/08/2025
55
ms.custom: sap:Class Library Namespaces
66
ms.reviewer: mihayash, davean, v-jayaramanp
77
ms.topic: troubleshooting-problem-resolution
88

9-
#customer intent: As a developer, I want to fix old text persisting in a TextBlock so that my application renders the updated text correctly.
9+
#customer intent: As a developer, I want to fix old text that persists in a TextBlock so that my application renders the updated text correctly.
1010
---
1111

12-
# Old text persists when a TextBlock is the child of a Viewbox
12+
# Old text persists if a TextBlock is the child of a Viewbox
1313

1414
_Applies to:_ .NET Framework 4.0 or later
1515

16-
This article discusses a text rendering issue that can occur when a TextBlock is the child of a [Viewbox](/dotnet/desktop/wpf/controls/viewbox?view=netframeworkdesktop-4.8&preserve-view=true) and the TextBlock's content is modified.
16+
This article discusses a text rendering issue that can occur if a TextBlock is the child of a [Viewbox](/dotnet/desktop/wpf/controls/viewbox?view=netframeworkdesktop-4.8&preserve-view=true) and the TextBlock's content is modified.
1717

1818
## Symptoms
1919

2020
When you update the content of a TextBlock (including derived classes) that's inside a Viewbox, remnants of the previous text remain visible on the screen.
2121

2222
## Cause
2323

24-
The transform process the Viewbox applies to the [TextBlock](/dotnet/api/system.windows.controls.textblock?view=windowsdesktop-8.0&preserve-view=true) can cause rounding errors when the Viewbox calculates the _dirty rectangle_ area after the TextBlock's content changes. Portions of the previous text might be left on the screen if the _dirty rectangle_ isn't large enough to completely erase the previous text.
24+
The transform process that the Viewbox applies to the [TextBlock](/dotnet/api/system.windows.controls.textblock?view=windowsdesktop-8.0&preserve-view=true) can cause rounding errors when the Viewbox calculates the _dirty rectangle_ area after the TextBlock's content changes. Portions of the previous text might be left on the screen if the _dirty rectangle_ isn't large enough to completely erase the previous text.
2525

2626
## Solution
2727

0 commit comments

Comments
 (0)