wpf
wpf copied to clipboard
WPF is a .NET Core UI framework for building Windows desktop applications.
### Description I see that a code path exists for using `WindowStartupLocation.CenterOwner` with a Win32 owner, namely the `else` branch after https://source.dot.net/#PresentationFramework/System/Windows/Window.cs,3659. And indeed, this works, _as long as_ that...
See https://github.com/tonsky/FiraCode/issues/259 for the full issue description. Would be good to get this fixed for .NET Core 3.
Follow-up to #8092 and others ## Description Use `ArgumentNullException.ThrowIfNull` more widely across codebase, addressing leftovers from previous PRs. This also makes some uses of `ArgumentException.ThrowIfNullOrEmpty`, and remove redundant custom error...
Addresses #8905. I haven't had time to review #8675 yet ###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/dotnet/wpf/pull/8924)
### Description After the Windows 22H2 update, it seems that the modern UWP print dialog is used when trying to print XPS documents from a WPF application. This new dialog...
Add a convenience extension method allowing for contemporary and planned language level features to be more prominently used. ```csharp namspace System.Windows { // EventManager is already static, so this seems...
Fixes #8679 Main PR ## Description The PR #6862 addressed an issue with `ItemsControl` Automation reported in #6861. However, it inadvertently introduced breaking changes, as reported in #8679. Another PR,...
Fixes #8679 ## Description Pull request #6862 fixed an issue with grouped ItemsControl not exposing grouped items to the automation, but as a side-effect it broke automation in ItemsControl without...
## Background and motivation With the introduction of FluentWindows ( Win11 ) theme, we want to allow developers to be able to enable disable and switch themes in their WPF...
* .NET Core Version: Microsoft.NETCore.App 6.0.0-preview.3.21201.4 / .NET SDKs 6.0.100-preview.3.21202.5 * Windows version: 2004 * Does the bug reproduce also in WPF for .NET Framework 4.8?: Yes **Problem description:** Hi,...