dotnet / dotnet/wpf

If Window.Title is set to null Exception is thrown

Open
#4,471 5 comments 1 reaction 0 assignees View on GitHub
.NET Framework
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

* .NET Core Version: 5.0.201
* Windows version: Windows 10 Entrprise 190
* Does the bug reproduce also in WPF for .NET Framework 4.8?: Yes

**Problem description: If the Title of a window is set to null then an Exception is thrown, and this cannot be avoided by Coerce

**Actual behavior: ArgmentException is thrown

**Expected behavior: Null value is handled as an empty string

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.