Example uses obsolete API

Open
#153 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 4 days

Nobody has claimed this yet.

  • #1247 by @kant2002 — closed without merging

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp
Domain
documentation

Research direction

Open dotnet-desktop-guide/framework/wpf/advanced/how-to-draw-text-to-a-control-background.md and locate the FormattedText constructor in the example. Check the current WPF API for a non-obsolete constructor and update the example accordingly; done means it no longer uses the obsolete constructor while preserving the documented behavior.

Written by the indexing model from the issue text.

Description

doc-bug dotnet-framework/svc okr-health okr-quality Pri3 wpf/subsvc

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.

Dominant language
C#
Stars
241
Forks
192
Avg merge
10h 23m
Merged PRs (30d)
6

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/docs-desktop

All issues in dotnet/docs-desktop

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.