Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor fixes to whats new #1930

Merged
merged 2 commits into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading