Forum Xamarin.Mac

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

How can bring window in to front in Xamarin.Mac C#?

DineshDDineshD Member ✭✭
edited February 2020 in Xamarin.Mac

Hi Folks,
In My Application when some function invoke automatically window can fired. I need to display In front of all the windows. i Used below code does now work. Please share possible ways.

          `NSApplication app = NSApplication.SharedApplication;              
            app.ActivateIgnoringOtherApps(true);   
            app.AccessibilityFrontmost = true;`

Regards,
Dinesh D

Tagged:

Answers

Sign In or Register to comment.