Alternative for AllowsTransparency

Gurpreet Singh 1 Reputation point
2021-07-02T12:49:30.967+00:00

Hi,

We are facing some memory issues in our WPF Application. While searching for them I have found this particular MSDN link:-
https://video2.skills-academy.com/en-us/troubleshoot/dotnet/framework/wpf-render-thread-failures

In this link, several ways are mentioned to resolve the memory issues and of them is this:-
Disable the use of Windows.AllowsTransparency and Popup.AllowsTransparency in your application.

We tried the same but our popup starts appearing black from border area.

Is there any alternative way to show popup without setting AllowsTransparency property?

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,772 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
809 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.