Choosing Between WinForms and WPF for a Custom Activity: Which One Is More Suitable?

I am currently developing a custom activity scenario aimed at creating a table view. This view will allow both users and developers to quickly review their datatable values and make one-time changes. For a better understanding, please refer to this previous post of mine.

I have completed 90% of the UI for the view using a Windows Form Application (WinForms). However, I encountered some issues with making the form responsive to various screen resolutions. That’s when I learned about WPF (Windows Presentation Foundation), which seems more promising for achieving responsive design across different screen resolutions.

Creating a new Table View in WPF from scratch is not a problem. However, my main concern is whether I can launch WPF from a Class Library (.NetFramework) project, as this is the method I am using to create the initial activity that will be visible in UiPath Studio. Similar uncertainties surround the current WinForms implementation.

Edit :- I forgot to mention is that the initial activity is responsible to provide the input and output parameter for the Winforms/WPF