Skip to content

Commit

Permalink
Minor fixes to whats new (#1930)
Browse files Browse the repository at this point in the history
* Minor tweaks

* Minor tweaks
  • Loading branch information
adegeo authored Nov 12, 2024
1 parent af47d20 commit 6d699c2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions dotnet-desktop-guide/net/winforms/whats-new/net90.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The following a list of new methods added to support asynchronous scenarios:
- <xref:System.Windows.Forms.TaskDialog.ShowDialogAsync*?displayProperty=nameWithType>
- <xref:System.Windows.Forms.Control.InvokeAsync*?displayProperty=nameWithType>

This API is guarded behind a compiler error because it's experimental. Suppress the error to enable access to the API. Add the following `PropertyGroup` to your project file:
This API is guarded behind a compiler error because it's experimental. To suppress the error and enable access to the API, add the following `PropertyGroup` to your project file:

:::code language="xml" source=".\snippets\net90\csharp\MyExampleProject.csproj" id="experimental_async":::

Expand Down Expand Up @@ -59,7 +59,7 @@ To apply a color mode, call <xref:System.Windows.Forms.Application.SetColorMode(
:::code language="csharp" source=".\snippets\net90\csharp\Program.cs" highlight="14":::
:::code language="vb" source=".\snippets\net90\vb\Program.vb" highlight="8":::

This API is guarded behind a compiler error because it's experimental. Suppress the error to enable access to the API. Add the following `PropertyGroup` to your project file:
This API is guarded behind a compiler error because it's experimental. To suppress the error and enable access to the API, add the following `PropertyGroup` to your project file:

:::code language="xml" source=".\snippets\net90\csharp\MyExampleProject.csproj" id="experimental_darkmode":::

Expand Down Expand Up @@ -110,7 +110,7 @@ Many methods that accepted arrays have been enhanced to also accept `ReadOnlySpa

### Use CsWin32 for interop

All interop code has been replaced by [CsWin32], a C# P/Invoke source generator.
All interop code has been replaced by [CsWin32](https://github.com/microsoft/CsWin32), a C# P/Invoke source generator.

## ToolStrip

Expand Down
2 changes: 1 addition & 1 deletion dotnet-desktop-guide/net/wpf/whats-new/net70.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ms.date: 10/24/2024
ms.topic: conceptual
---

# What's new for .NET 7 (WPF .NET)
# What's new in WPF for .NET 7

This article describes some of the new Windows Presentation Foundation features and enhancements in .NET 7.

Expand Down
2 changes: 1 addition & 1 deletion dotnet-desktop-guide/net/wpf/whats-new/net80.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ms.date: 10/24/2024
ms.topic: conceptual
---

# What's new for .NET 8 (WPF .NET)
# What's new in WPF for .NET 8

WPF adds hardware acceleration and a new control for browsing and selecting folders in .NET 8.

Expand Down

0 comments on commit 6d699c2

Please sign in to comment.