Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TaskEditor] What about UWP? #63

Closed
JValck opened this issue Mar 31, 2018 · 14 comments
Closed

[TaskEditor] What about UWP? #63

JValck opened this issue Mar 31, 2018 · 14 comments
Assignees
Projects

Comments

@JValck
Copy link

JValck commented Mar 31, 2018

I'm trying to use the TaskEditor in one of my UWP projects.
Unfortunately I'm unable to do this, because the library depends on System.Windows.Forms.

@dahall
Copy link
Owner

dahall commented Mar 31, 2018

I have started a UWP project based on the TaskOptionsEditor. It will take some time though as it is a decent learning curve for me. If anyone has some good experience with UWP, I'd appreciate collaborating on it.

@dahall dahall self-assigned this Mar 31, 2018
@scout208
Copy link

@dahall Have you still been working on this? I could see both TaskScheduler and TaskEditor being useful in UWP if there was some way to figure that out.

@dahall
Copy link
Owner

dahall commented May 30, 2020

I have the TaskScheduler project now working with all .NET Core versions. I have most of the TaskEditor control done in UWP, but that is the only control. If you have UWP experience, I'd appreciate the help. I'm struggling with some custom controls I need to make.

@scout208
Copy link

@dahall Yeah I have a lot of UWP experience, I'd love to help. I haven't done much with WPF though so any sort of transition stuff I might not be able to help with as much.

@dahall
Copy link
Owner

dahall commented May 31, 2020

I'll get all my work on the main library posted so you can use it. If you have ideas on adding the UWP editor, please share here. If you write some code, please share here or in a PR.

@dahall
Copy link
Owner

dahall commented Jun 1, 2020

@scout208 I just posted 2.8.19 which has support for .NET Core. I think the full task editor is the most important and most used. Have you seen the TaskOptionsEditor? I think that flow is more UWP-like.

@dahall
Copy link
Owner

dahall commented Jun 1, 2020

@scout208 Having done some online research, I think the page layout of TaskOptionsEditor is good, but using a Pivot control on top instead of the one to the left. Thoughts?

@scout208
Copy link

scout208 commented Jun 4, 2020

@dahall Yeah, I'm looking at it in the designer now. Based on what it looks like here I'd say a SplitView might be better. By the way, have you installed the Xaml Controls Gallery app? I think it's a great way to play around with and explore a lot of different XAML controls. You can get it from the Microsoft Store if you haven't already.

@scout208
Copy link

scout208 commented Jun 4, 2020

@dahall There's also the NavigationView control you might want to take a look at.

@dahall
Copy link
Owner

dahall commented Jun 12, 2020

@scout208 I've been looking at XAML and what it takes to design a good app. Its seems that some sort of MVVM approach has benefits. Which design pattern have you found best? Is there a framework you prefer?

From a control standpoint, I think I have that narrowed down. I have a screenshot of the "Task Scheduler" app that I'll markup with my notes and post them here later today.

@dahall
Copy link
Owner

dahall commented Jun 12, 2020

image
@scout208 Here's what I think the control base would employ. Thoughts?

@dahall
Copy link
Owner

dahall commented Jun 12, 2020

After trying to make a test app work, I have found that the underlying COM objects used to interact with the Windows Task Scheduler are not supported under UWP. So, it appears that we have two options:

  1. Develop controls in XAML using WPF and then have UWP developers use Windows Bridge to use them.
  2. Force developers to pick side-loading as the only deployment model and use Brokered Windows Runtime Components for side-loaded Windows Store apps to load the COM objects.

Personally, I think option 1 is the only viable solution. What do you think?

@scout208
Copy link

I agree with you. I think that there will be some unification of Win32 and UWP in the near future. It seems like Microsoft is trying to get rid of the concept of "Win32 apps" and "UWP apps" and just have "windows apps". See Project Reunion. I don't know exactly what this will mean but I would think it would make it easier to use WPF controls in UWP apps eventually, so keeping the controls the same might not be such a bad idea with that in mind.

@albefly
Copy link

albefly commented Jul 31, 2020

dahall, scout208 - thank you for your effort!
As I understand, you can use Win32 / WinForms apps as well for the Bridging, so it is not absolutely necessary to use WPF.
Not sure will it reduce development time or not.

Best regards,
Alex.

@dahall dahall closed this as completed Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
UI Library
Awaiting triage
Development

No branches or pull requests

4 participants