Repository navigation
Merge IFrameworkElement and IView and Remove IPage - #1875
Merged
Merged
Conversation
mattleibow
requested review from
Clancey,
PureWeen and
hartez
and removed request for
Clancey,
PureWeen and
hartez
July 30, 2021 03:34
mattleibow
commented
Jul 30, 2021
Comment on lines
-197
to
-199
| #region IView | ||
|
|
||
| protected PropertyMapper propertyMapper; |
Member
Author
There was a problem hiding this comment.
Moved these 2 regions into the View.Impl.cs file as that is where this should be.
Comment on lines
-15
to
+11
| public partial class View : VisualElement, IView, IViewController, IGestureController, IGestureRecognizers, IPropertyMapperView, IHotReloadableView | ||
| public partial class View : VisualElement, IViewController, IGestureController, IGestureRecognizers |
Member
Author
There was a problem hiding this comment.
Moved to the View.Impl.cs file
| double IView.Width => WidthRequest; | ||
| double IView.Height => HeightRequest; | ||
|
|
||
| Thickness IView.Margin => Thickness.Zero; |
Member
Author
There was a problem hiding this comment.
This is the only addition. We override it on View and we had this value on Page.
Clancey
approved these changes
Aug 2, 2021
…ev/merge-ife-iv # Conflicts: # src/Controls/src/Core/HandlerImpl/View.Impl.cs
rookiejava
added a commit
to rookiejava/maui
that referenced
this pull request
Nov 22, 2021
- Merge IFrameworkElement and IView and Remove IPage (dotnet#1875)
rookiejava
added a commit
to rookiejava/maui
that referenced
this pull request
Nov 23, 2021
- Merge IFrameworkElement and IView and Remove IPage (dotnet#1875)
rookiejava
added a commit
to rookiejava/maui
that referenced
this pull request
Dec 6, 2021
- Merge IFrameworkElement and IView and Remove IPage (dotnet#1875)
rookiejava
added a commit
to rookiejava/maui
that referenced
this pull request
Dec 7, 2021
- Merge IFrameworkElement and IView and Remove IPage (dotnet#1875)
rookiejava
added a commit
to rookiejava/maui
that referenced
this pull request
Dec 13, 2021
- Merge IFrameworkElement and IView and Remove IPage (dotnet#1875)
rookiejava
added a commit
to rookiejava/maui
that referenced
this pull request
Dec 14, 2021
- Merge IFrameworkElement and IView and Remove IPage (dotnet#1875)
rookiejava
added a commit
to rookiejava/maui
that referenced
this pull request
Dec 20, 2021
- Merge IFrameworkElement and IView and Remove IPage (dotnet#1875)
rookiejava
added a commit
to rookiejava/maui
that referenced
this pull request
Dec 27, 2021
- Merge IFrameworkElement and IView and Remove IPage (dotnet#1875)
rookiejava
added a commit
to rookiejava/maui
that referenced
this pull request
Jan 3, 2022
- Merge IFrameworkElement and IView and Remove IPage (dotnet#1875)
rookiejava
added a commit
to rookiejava/maui
that referenced
this pull request
Jan 17, 2022
- Merge IFrameworkElement and IView and Remove IPage (dotnet#1875)
rookiejava
added a commit
to rookiejava/maui
that referenced
this pull request
Jan 19, 2022
- Merge IFrameworkElement and IView and Remove IPage (dotnet#1875)
rookiejava
added a commit
to rookiejava/maui
that referenced
this pull request
Jan 21, 2022
- Merge IFrameworkElement and IView and Remove IPage (dotnet#1875)
rookiejava
added a commit
to rookiejava/maui
that referenced
this pull request
Jan 27, 2022
- Merge IFrameworkElement and IView and Remove IPage (dotnet#1875)
rookiejava
added a commit
to rookiejava/maui
that referenced
this pull request
Feb 4, 2022
- Merge IFrameworkElement and IView and Remove IPage (dotnet#1875)
rookiejava
added a commit
to rookiejava/maui
that referenced
this pull request
Feb 8, 2022
- Merge IFrameworkElement and IView and Remove IPage (dotnet#1875)
rookiejava
added a commit
to rookiejava/maui
that referenced
this pull request
Feb 10, 2022
- Merge IFrameworkElement and IView and Remove IPage (dotnet#1875)
rookiejava
added a commit
to rookiejava/maui
that referenced
this pull request
Feb 21, 2022
- Merge IFrameworkElement and IView and Remove IPage (dotnet#1875)
rookiejava
added a commit
to rookiejava/maui
that referenced
this pull request
Feb 23, 2022
- Merge IFrameworkElement and IView and Remove IPage (dotnet#1875)
rookiejava
added a commit
to rookiejava/maui
that referenced
this pull request
Feb 25, 2022
- Merge IFrameworkElement and IView and Remove IPage (dotnet#1875)
rookiejava
added a commit
to rookiejava/maui
that referenced
this pull request
Feb 28, 2022
- Merge IFrameworkElement and IView and Remove IPage (dotnet#1875)
rookiejava
added a commit
to rookiejava/maui
that referenced
this pull request
Mar 2, 2022
- Merge IFrameworkElement and IView and Remove IPage (dotnet#1875)
rookiejava
added a commit
to rookiejava/maui
that referenced
this pull request
Mar 2, 2022
- Merge IFrameworkElement and IView and Remove IPage (dotnet#1875)
rookiejava
added a commit
to rookiejava/maui
that referenced
this pull request
Mar 3, 2022
- Merge IFrameworkElement and IView and Remove IPage (dotnet#1875)
rookiejava
added a commit
to rookiejava/maui
that referenced
this pull request
Mar 4, 2022
- Merge IFrameworkElement and IView and Remove IPage (dotnet#1875)
rookiejava
added a commit
to rookiejava/maui
that referenced
this pull request
Mar 7, 2022
- Merge IFrameworkElement and IView and Remove IPage (dotnet#1875)
rookiejava
added a commit
to rookiejava/maui
that referenced
this pull request
Mar 8, 2022
- Merge IFrameworkElement and IView and Remove IPage (dotnet#1875)
rookiejava
added a commit
to rookiejava/maui
that referenced
this pull request
Mar 8, 2022
- Merge IFrameworkElement and IView and Remove IPage (dotnet#1875)
rookiejava
added a commit
to rookiejava/maui
that referenced
this pull request
Mar 9, 2022
- Merge IFrameworkElement and IView and Remove IPage (dotnet#1875)
rookiejava
added a commit
to rookiejava/maui
that referenced
this pull request
Mar 10, 2022
- Merge IFrameworkElement and IView and Remove IPage (dotnet#1875)
rookiejava
added a commit
to rookiejava/maui
that referenced
this pull request
Mar 10, 2022
- Merge IFrameworkElement and IView and Remove IPage (dotnet#1875)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of Change
All usages of
IFrameworkElementwe alsoIView.Previously
VisualElementwasIFrameworkElement. There were 2 cases ofVisualElement,PageandView, butPageisIPage, which in turn isIView...There is nothing on
IFrameworkElementexceptMargin, but sinceIPageisIView, that was already defined as aMargin.Zero. And this it not too bad. Someone might come along and decide that a split page window might want margins. Who knows.Additions made
IFrameworkElementintoIViewThickness Margin { get; }toIViewITitledElementfor all elements that have an additional title property for pages/windows/chromeIContentViewfor all views that actually are actually displaying another viewIPageand useIView