-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[2025/05/19] Candidate - In Flight Branch #29473
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
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
4b14e76
[Windows] Fixed the color not being applied to the Expand/Collapse Ch…
Tamilarasan-Paranthaman 14270cb
Fixed-Footer-Scrolling-Issue (#29381)
prakashKannanSf3972 396e7e4
[C] Fix typo (#29379)
StephaneDelcroix 5b56adc
[iOS] Fix CarouselView proper bounce-back behavior when Loop=false (#…
Shalini-Ashokan ede47cf
[Android] Inheriting StatusBar and NavigationBar background colors on…
kubaflo 533a3af
[iOS] Fixed the App crashes when navigating to a page containing a ma…
Ahamed-Ali 9c0e09e
try Fix branchname for nightly
rmarinho 6193a41
[Windows, Mac] Fixed Disappearing event not triggered when closing a …
Vignesh-SF3580 b08d402
Fix for [Windows] HorizontalScrollBarVisibility="Never" not working i…
SuthiYuvaraj aa50d8a
Fix CarouselView ItemsLayout Runtime Updates (#29447)
Shalini-Ashokan 2fb406f
Fix NRE for UIView not being in UIWindow (#29460)
drasticactions cc802a2
[Testing] Feature Matrix UITest Cases for CollectionView Dynamic cha…
NafeelaNazhir 9eba629
Fixed-CV2-Failing (#29423)
prakashKannanSf3972 2fae79a
Fixed Test case failure in PR 29473 - [2025/05/19] Candidate (#29457)
prakashKannanSf3972 9e79611
[housekeeping] Automated PR to fix formatting errors on inflight/cand…
github-actions[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
48 changes: 48 additions & 0 deletions
48
src/Controls/tests/Core.UnitTests/ItemDisplayBindingTests.cs
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| using Xunit; | ||
|
|
||
| namespace Microsoft.Maui.Controls.Core.UnitTests | ||
| { | ||
| public class ItemDisplayBindingTests | ||
| { | ||
|
|
||
| class TestViewModel | ||
| { | ||
| public string Name { get; set; } | ||
| public string Description { get; set; } | ||
| } | ||
|
|
||
| class TestView : View | ||
| { | ||
| internal Picker picker = new Picker(); | ||
| public static readonly BindableProperty ItemDisplayBindingProperty = BindableProperty.Create(nameof(ItemDisplayBinding), typeof(BindingBase), typeof(TestView), propertyChanged: (bindable, _, newValue) => | ||
| { | ||
| if (bindable is TestView view) | ||
| { | ||
| view.picker.ItemDisplayBinding = (BindingBase)newValue; | ||
| } | ||
| }); | ||
|
|
||
|
|
||
| public BindingBase ItemDisplayBinding | ||
| { | ||
| get => (BindingBase)GetValue(ItemDisplayBindingProperty); | ||
| set => SetValue(ItemDisplayBindingProperty, value); | ||
| } | ||
| } | ||
|
|
||
| [Fact] | ||
| public void TestItemDisplayBinding() | ||
| { | ||
| var testView = new TestView(); | ||
|
|
||
|
|
||
| var binding = new Binding("Name"); | ||
| testView.ItemDisplayBinding = binding; | ||
|
|
||
| Assert.Equal(binding, testView.ItemDisplayBinding); | ||
| Assert.Equal(binding, testView.picker.ItemDisplayBinding); | ||
| } | ||
|
|
||
|
|
||
| } | ||
| } |
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
Binary file added
BIN
+22.2 KB
...tCases.Android.Tests/snapshots/android/HorizontalScrollBarShouldHideOnNever.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.86 KB
...Android.Tests/snapshots/android/StatusBarAndNavigationBarShouldInheritColor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+35.3 KB
...Cases.Android.Tests/snapshots/android/VerifyCarouselLayoutOrientationChange.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.