Can I use WPF/UWP in script instead of WinForm?

william-j wrote on 10/29/2021, 8:59 AM

I want to use WPF UI in a script because I feel that the UI of WinForm is a bit ugly. Is it possible?

I tried it once before and it said "System.Windows.Controls" could not be found.


william-j wrote on 10/31/2021, 6:21 AM

Does anyone here?

jetdv wrote on 10/31/2021, 3:42 PM

It would have to be supported by .NET 4. I just use the controls available in .NET 4.

RedRob-CandlelightProdctns wrote on 11/4/2021, 4:42 PM

Related --- I'm getting my feet wet with Visual Studio development for scripting.. love it so far.

What's the best way to design a UI using Visual Studio to use with the C# script for Vegas?

jetdv wrote on 11/5/2021, 8:15 AM

@RedRob-CandlelightProdctns, I just add a new User Control (Custom Command) or Form (Script) in Visual Studio and then just add the controls onto the form that I need.

See the Custom Command series starting here:

And how to create a script with a form: