ICommand interface

0
0

Hi guys,

The ButtonBase.Command property is of type Wisej.Web.ICommand.

I wonder if it would be better  and made sense to change it to System.Windows.Input which is more generic and used in Winforms, WPF, MAUI etc. As it is now, if one wants to have ViewModels with ICommand properties and reuse them for, e.g., both Wisej and Winforms this is not possible.

Best,
Alex

 

  • You must to post comments
0
0

Hi Alaa,

Thanks for your answer. However, I think, not sure, that System.Windows.Input is part of .NET, which works across platforms, not only on Windows.

Alex

  • You must to post comments
0
0

Hi Alex,

The new interface is designed to work with Wisej.NET components, changing it to System.Windows.Input would basically mean that it would only be supported on Windows platforms, and Wisej.NET is made to work across all environments!

HTH,
Alaa

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.