dotnet / dotnet/docs-desktop

Example uses obsolete API

Open
#153 1 comment 0 reactions 0 assignees View on GitHub
doc-bug dotnet-framework/svc okr-health okr-quality Pri3 wpf/subsvc
Dominant language
C#
Stars
237
Forks
191
Avg merge
4d 16h
Merged PRs (30d)
3

Description

The FormattedText constructor used in the example is marked as obsolete.

Please update with other constructor.

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: eddeed1d-cae8-c0c0-43f6-03516cc0ff56
* Version Independent ID: 829cde58-83a3-42c8-cdd9-bb46252d8fa0
* Content: [How to: Draw Text to a Control's Background - WPF .NET Framework](https://docs.microsoft.com/en-us/dotnet/desktop/wpf/advanced/how-to-draw-text-to-a-control-background?view=netframeworkdesktop-4.8)
* Content Source: [dotnet-desktop-guide/framework/wpf/advanced/how-to-draw-text-to-a-control-background.md](https://github.com/dotnet/docs-desktop/blob/master/dotnet-desktop-guide/framework/wpf/advanced/how-to-draw-text-to-a-control-background.md)
* Product: **dotnet-framework**
* Technology: **dotnet-wpf**
* GitHub Login: @adegeo
* Microsoft Alias: **adegeo**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.