Skip to content

Implement the basic WindowHandler - #1468

Merged
PureWeen merged 47 commits into
mainfrom
dev/window-handler
Jul 1, 2021
Merged

PureWeen merged 47 commits into
mainfrom
dev/window-handler

Conversation

@mattleibow

@mattleibow mattleibow commented Jun 27, 2021 •

Copy link
Copy Markdown
Member

Description of Change

This PR adds a handler for Window so that we can access window-specific properties as well as make use of window-specific features.

As a result of these changes, there was a fair bit of type splitting since IWindow is based on the new IElement instead of a IView. This is good because we no longer have a bunch of properties that make no sense. For example, SkewX... That is mostly impossible in these OSes.

There were a few changes related:

  • Window now has bindable properties for Title and Content
  • There is now a new IElement which forms the very base of all things
  • There is now a new ElementHandler which handles the very basic concept of the managed/native views and ensuring that is all set up correctly
  • There is now an internal OnMauiContextCreated event for supporting a correct Compatibility Forms.Init for now

Issues Fixed

To Do

  • CreateNativeWindow should be virtual
  • IMauiContext.Window should be named NativeWindow to avoid confusion

# Conflicts:
#	src/Controls/src/Core/HandlerImpl/VisualElement.Impl.cs
#	src/Controls/src/Core/HandlerImpl/Window.Impl.cs
# Conflicts:
#	src/Controls/src/Core/HandlerImpl/Window.Impl.cs
#	src/Controls/src/Core/HandlerImpl/Window.Standard.cs
#	src/Controls/src/Core/Platform/ModalNavigationService/ModalNavigationService.Android.cs
rookiejava added a commit to rookiejava/maui that referenced this pull request Nov 19, 2021
- Modal Navigation Manager (dotnet#1563)
- Implement the basic WindowHandler (dotnet#1468)
- Don't extract native defaults, meaning users can no longer reset a color back to a platform theme (dotnet#1485)
- Implement Alerts (Alert, Prompt and ActionSheet) (dotnet#1328)
- And so on.
rookiejava added a commit to rookiejava/maui that referenced this pull request Nov 22, 2021
- Modal Navigation Manager (dotnet#1563)
- Implement the basic WindowHandler (dotnet#1468)
- Don't extract native defaults, meaning users can no longer reset a color back to a platform theme (dotnet#1485)
- Implement Alerts (Alert, Prompt and ActionSheet) (dotnet#1328)
- And so on.
rookiejava added a commit to rookiejava/maui that referenced this pull request Nov 23, 2021
- Modal Navigation Manager (dotnet#1563)
- Implement the basic WindowHandler (dotnet#1468)
- Don't extract native defaults, meaning users can no longer reset a color back to a platform theme (dotnet#1485)
- Implement Alerts (Alert, Prompt and ActionSheet) (dotnet#1328)
- And so on.
rookiejava added a commit to rookiejava/maui that referenced this pull request Dec 6, 2021
- Modal Navigation Manager (dotnet#1563)
- Implement the basic WindowHandler (dotnet#1468)
- Don't extract native defaults, meaning users can no longer reset a color back to a platform theme (dotnet#1485)
- Implement Alerts (Alert, Prompt and ActionSheet) (dotnet#1328)
- And so on.
rookiejava added a commit to rookiejava/maui that referenced this pull request Dec 7, 2021
- Modal Navigation Manager (dotnet#1563)
- Implement the basic WindowHandler (dotnet#1468)
- Don't extract native defaults, meaning users can no longer reset a color back to a platform theme (dotnet#1485)
- Implement Alerts (Alert, Prompt and ActionSheet) (dotnet#1328)
- And so on.
rookiejava added a commit to rookiejava/maui that referenced this pull request Dec 13, 2021
- Modal Navigation Manager (dotnet#1563)
- Implement the basic WindowHandler (dotnet#1468)
- Don't extract native defaults, meaning users can no longer reset a color back to a platform theme (dotnet#1485)
- Implement Alerts (Alert, Prompt and ActionSheet) (dotnet#1328)
- And so on.
rookiejava added a commit to rookiejava/maui that referenced this pull request Dec 14, 2021
- Modal Navigation Manager (dotnet#1563)
- Implement the basic WindowHandler (dotnet#1468)
- Don't extract native defaults, meaning users can no longer reset a color back to a platform theme (dotnet#1485)
- Implement Alerts (Alert, Prompt and ActionSheet) (dotnet#1328)
- And so on.
rookiejava added a commit to rookiejava/maui that referenced this pull request Dec 20, 2021
- Modal Navigation Manager (dotnet#1563)
- Implement the basic WindowHandler (dotnet#1468)
- Don't extract native defaults, meaning users can no longer reset a color back to a platform theme (dotnet#1485)
- Implement Alerts (Alert, Prompt and ActionSheet) (dotnet#1328)
- And so on.
rookiejava added a commit to rookiejava/maui that referenced this pull request Dec 27, 2021
- Modal Navigation Manager (dotnet#1563)
- Implement the basic WindowHandler (dotnet#1468)
- Don't extract native defaults, meaning users can no longer reset a color back to a platform theme (dotnet#1485)
- Implement Alerts (Alert, Prompt and ActionSheet) (dotnet#1328)
- And so on.
rookiejava added a commit to rookiejava/maui that referenced this pull request Jan 3, 2022
- Modal Navigation Manager (dotnet#1563)
- Implement the basic WindowHandler (dotnet#1468)
- Don't extract native defaults, meaning users can no longer reset a color back to a platform theme (dotnet#1485)
- Implement Alerts (Alert, Prompt and ActionSheet) (dotnet#1328)
- And so on.
rookiejava added a commit to rookiejava/maui that referenced this pull request Jan 17, 2022
- Modal Navigation Manager (dotnet#1563)
- Implement the basic WindowHandler (dotnet#1468)
- Don't extract native defaults, meaning users can no longer reset a color back to a platform theme (dotnet#1485)
- Implement Alerts (Alert, Prompt and ActionSheet) (dotnet#1328)
- And so on.
rookiejava added a commit to rookiejava/maui that referenced this pull request Jan 19, 2022
- Modal Navigation Manager (dotnet#1563)
- Implement the basic WindowHandler (dotnet#1468)
- Don't extract native defaults, meaning users can no longer reset a color back to a platform theme (dotnet#1485)
- Implement Alerts (Alert, Prompt and ActionSheet) (dotnet#1328)
- And so on.
rookiejava added a commit to rookiejava/maui that referenced this pull request Jan 21, 2022
- Modal Navigation Manager (dotnet#1563)
- Implement the basic WindowHandler (dotnet#1468)
- Don't extract native defaults, meaning users can no longer reset a color back to a platform theme (dotnet#1485)
- Implement Alerts (Alert, Prompt and ActionSheet) (dotnet#1328)
- And so on.
rookiejava added a commit to rookiejava/maui that referenced this pull request Jan 27, 2022
- Modal Navigation Manager (dotnet#1563)
- Implement the basic WindowHandler (dotnet#1468)
- Don't extract native defaults, meaning users can no longer reset a color back to a platform theme (dotnet#1485)
- Implement Alerts (Alert, Prompt and ActionSheet) (dotnet#1328)
- And so on.
rookiejava added a commit to rookiejava/maui that referenced this pull request Feb 4, 2022
- Modal Navigation Manager (dotnet#1563)
- Implement the basic WindowHandler (dotnet#1468)
- Don't extract native defaults, meaning users can no longer reset a color back to a platform theme (dotnet#1485)
- Implement Alerts (Alert, Prompt and ActionSheet) (dotnet#1328)
- And so on.
rookiejava added a commit to rookiejava/maui that referenced this pull request Feb 8, 2022
- Modal Navigation Manager (dotnet#1563)
- Implement the basic WindowHandler (dotnet#1468)
- Don't extract native defaults, meaning users can no longer reset a color back to a platform theme (dotnet#1485)
- Implement Alerts (Alert, Prompt and ActionSheet) (dotnet#1328)
- And so on.
rookiejava added a commit to rookiejava/maui that referenced this pull request Feb 10, 2022
- Modal Navigation Manager (dotnet#1563)
- Implement the basic WindowHandler (dotnet#1468)
- Don't extract native defaults, meaning users can no longer reset a color back to a platform theme (dotnet#1485)
- Implement Alerts (Alert, Prompt and ActionSheet) (dotnet#1328)
- And so on.
rookiejava added a commit to rookiejava/maui that referenced this pull request Feb 21, 2022
- Modal Navigation Manager (dotnet#1563)
- Implement the basic WindowHandler (dotnet#1468)
- Don't extract native defaults, meaning users can no longer reset a color back to a platform theme (dotnet#1485)
- Implement Alerts (Alert, Prompt and ActionSheet) (dotnet#1328)
- And so on.
rookiejava added a commit to rookiejava/maui that referenced this pull request Feb 23, 2022
- Modal Navigation Manager (dotnet#1563)
- Implement the basic WindowHandler (dotnet#1468)
- Don't extract native defaults, meaning users can no longer reset a color back to a platform theme (dotnet#1485)
- Implement Alerts (Alert, Prompt and ActionSheet) (dotnet#1328)
- And so on.
rookiejava added a commit to rookiejava/maui that referenced this pull request Feb 25, 2022
- Modal Navigation Manager (dotnet#1563)
- Implement the basic WindowHandler (dotnet#1468)
- Don't extract native defaults, meaning users can no longer reset a color back to a platform theme (dotnet#1485)
- Implement Alerts (Alert, Prompt and ActionSheet) (dotnet#1328)
- And so on.
rookiejava added a commit to rookiejava/maui that referenced this pull request Feb 28, 2022
- Modal Navigation Manager (dotnet#1563)
- Implement the basic WindowHandler (dotnet#1468)
- Don't extract native defaults, meaning users can no longer reset a color back to a platform theme (dotnet#1485)
- Implement Alerts (Alert, Prompt and ActionSheet) (dotnet#1328)
- And so on.
rookiejava added a commit to rookiejava/maui that referenced this pull request Mar 2, 2022
- Modal Navigation Manager (dotnet#1563)
- Implement the basic WindowHandler (dotnet#1468)
- Don't extract native defaults, meaning users can no longer reset a color back to a platform theme (dotnet#1485)
- Implement Alerts (Alert, Prompt and ActionSheet) (dotnet#1328)
- And so on.
rookiejava added a commit to rookiejava/maui that referenced this pull request Mar 2, 2022
- Modal Navigation Manager (dotnet#1563)
- Implement the basic WindowHandler (dotnet#1468)
- Don't extract native defaults, meaning users can no longer reset a color back to a platform theme (dotnet#1485)
- Implement Alerts (Alert, Prompt and ActionSheet) (dotnet#1328)
- And so on.
rookiejava added a commit to rookiejava/maui that referenced this pull request Mar 3, 2022
- Modal Navigation Manager (dotnet#1563)
- Implement the basic WindowHandler (dotnet#1468)
- Don't extract native defaults, meaning users can no longer reset a color back to a platform theme (dotnet#1485)
- Implement Alerts (Alert, Prompt and ActionSheet) (dotnet#1328)
- And so on.
rookiejava added a commit to rookiejava/maui that referenced this pull request Mar 4, 2022
- Modal Navigation Manager (dotnet#1563)
- Implement the basic WindowHandler (dotnet#1468)
- Don't extract native defaults, meaning users can no longer reset a color back to a platform theme (dotnet#1485)
- Implement Alerts (Alert, Prompt and ActionSheet) (dotnet#1328)
- And so on.
rookiejava added a commit to rookiejava/maui that referenced this pull request Mar 7, 2022
- Modal Navigation Manager (dotnet#1563)
- Implement the basic WindowHandler (dotnet#1468)
- Don't extract native defaults, meaning users can no longer reset a color back to a platform theme (dotnet#1485)
- Implement Alerts (Alert, Prompt and ActionSheet) (dotnet#1328)
- And so on.
rookiejava added a commit to rookiejava/maui that referenced this pull request Mar 8, 2022
- Modal Navigation Manager (dotnet#1563)
- Implement the basic WindowHandler (dotnet#1468)
- Don't extract native defaults, meaning users can no longer reset a color back to a platform theme (dotnet#1485)
- Implement Alerts (Alert, Prompt and ActionSheet) (dotnet#1328)
- And so on.
rookiejava added a commit to rookiejava/maui that referenced this pull request Mar 8, 2022
- Modal Navigation Manager (dotnet#1563)
- Implement the basic WindowHandler (dotnet#1468)
- Don't extract native defaults, meaning users can no longer reset a color back to a platform theme (dotnet#1485)
- Implement Alerts (Alert, Prompt and ActionSheet) (dotnet#1328)
- And so on.
rookiejava added a commit to rookiejava/maui that referenced this pull request Mar 9, 2022
- Modal Navigation Manager (dotnet#1563)
- Implement the basic WindowHandler (dotnet#1468)
- Don't extract native defaults, meaning users can no longer reset a color back to a platform theme (dotnet#1485)
- Implement Alerts (Alert, Prompt and ActionSheet) (dotnet#1328)
- And so on.
rookiejava added a commit to rookiejava/maui that referenced this pull request Mar 10, 2022
- Modal Navigation Manager (dotnet#1563)
- Implement the basic WindowHandler (dotnet#1468)
- Don't extract native defaults, meaning users can no longer reset a color back to a platform theme (dotnet#1485)
- Implement Alerts (Alert, Prompt and ActionSheet) (dotnet#1328)
- And so on.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants