-
Notifications
You must be signed in to change notification settings - Fork 35
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
[Proposal] Add AbsoluteLayout Flags Extension Methods #215
Labels
approved
champion
A member of the .NET MAUI Toolkit core team has chosen to champion this feature
documentation approved
proposal
A fully fleshed out proposal describing a new feature in syntactic and semantic detail
Comments
brminnick
added
proposal
A fully fleshed out proposal describing a new feature in syntactic and semantic detail
new
labels
Apr 22, 2023
ghost
added
champion
A member of the .NET MAUI Toolkit core team has chosen to champion this feature
and removed
new
labels
Apr 22, 2023
6 tasks
brminnick
added
the
needs discussion
The team will aim to discuss this at the next monthly standup
label
Apr 22, 2023
brminnick
removed
the
needs discussion
The team will aim to discuss this at the next monthly standup
label
May 9, 2023
brminnick
changed the title
[Proposal] Update AbsoluteLayout Flags Extensions
[Proposal] Add AbsoluteLayout Flags Extension Methods
May 9, 2023
This was referenced May 18, 2023
approve |
I approve this feature ✅ |
Approve |
ghost
added
approved
help wanted
This proposal has been approved and is ready to be implemented
labels
May 18, 2023
brminnick
removed
the
help wanted
This proposal has been approved and is ready to be implemented
label
May 22, 2023
ghost
reopened this
May 24, 2023
Reopening Proposal. Only Proposals moved to the |
ghost
added
the
documentation approved
label
May 24, 2023
ghost
closed this as completed
Jun 1, 2023
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
approved
champion
A member of the .NET MAUI Toolkit core team has chosen to champion this feature
documentation approved
proposal
A fully fleshed out proposal describing a new feature in syntactic and semantic detail
Feature name
Update AbsoluteLayout Flags Extensions
Progress tracker
AbsoluteLayoutFlags
Functionality MicrosoftDocs/CommunityToolkit#271Summary
This Proposal adds two new APIs to
AbsoluteLayoutExtensions
and updates the functionality of the existing.LayoutFlags()
API to add existingAbsoluteLayoutFlags
instead of overwriting existingAbsoluteLayoutFlags
.Motivation
1.
.ClearLayoutFlags()
Adding
.ClearLayoutFlags()
allows developers to easily remove any existingAbsoluteLayoutFlags
using fluent APIs.2.
.LayoutFlags()
Allowing this new
.LayoutFlags()
API helps developers (especially new developers) who may be unfamiliar with using Bitwise OR operator. This new API allows developers to pass in multipleAbsoluteLayoutFlags
by listing them sequentially which provides a more natural feel and may be what some developers expect, like so:Detailed Design
Usage Syntax
Drawbacks
None
Alternatives
To clear existing
AbsoluteLayoutFlags
, a developer can use the existing method:To add multiple
AbsoluteLayoutFlags
, a developer can use the existing method:The text was updated successfully, but these errors were encountered: