Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
<DataTemplate x:Key="TabBarNavigationViewMenuItem">
<NavigationViewItem
x:Name="navViewItem"
Content="{Binding Content}"
Foreground="{Binding TitleColor}"
Content="{Binding Content}"
Background="{Binding Background}"
IsSelected="{Binding IsSelected, Mode=TwoWay}"
MenuItemsSource="{Binding MenuItemsSource}"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions src/Controls/tests/TestCases.HostApp/Issues/Issue26754.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8" ?>
<TabbedPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Maui.Controls.Sample.Issues.Issue26754"
xmlns:ns="clr-namespace:Maui.Controls.Sample.Issues"
xmlns:android="clr-namespace:Microsoft.Maui.Controls.PlatformConfiguration.AndroidSpecific;assembly=Microsoft.Maui.Controls"
android:TabbedPage.ToolbarPlacement="Bottom"
BarBackground="Blue"
BarBackgroundColor="Pink"
BarTextColor="White"
SelectedTabColor="DeepPink"
UnselectedTabColor="Yellow">

<ContentPage Title="Test Page 1">
<Label Text="Maui Test Page 1!"
AutomationId="TestLabel"
HorizontalOptions="Center"
VerticalOptions="Center"/>
</ContentPage>
<ContentPage Title="Test Page 2"/>
<ContentPage Title="Test Page 3"/>
<ContentPage Title="Test Page 4"/>
<ContentPage Title="Test Page 5"/>
<ContentPage Title="Test Page 6"/>
<ContentPage Title="Test Page 7"/>
<ContentPage Title="Test Page 8"/>
<ContentPage Title="Test Page 9"/>
<ContentPage Title="Test Page 10"/>
<ContentPage Title="Test Page 11"/>
<ContentPage Title="Test Page 12"/>
<ContentPage Title="Test Page 13"/>
<ContentPage Title="Test Page 14"/>

</TabbedPage>
10 changes: 10 additions & 0 deletions src/Controls/tests/TestCases.HostApp/Issues/Issue26754.xaml.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
namespace Maui.Controls.Sample.Issues;

[Issue(IssueTracker.Github, 26754, "[Windows] TabbedPage menu item text color", PlatformAffected.iOS)]
public partial class Issue26754 : TabbedPage
{
public Issue26754()
{
InitializeComponent();
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
using NUnit.Framework;
using UITest.Appium;
using UITest.Core;

namespace Microsoft.Maui.TestCases.Tests.Issues
{
public class Issue26754 : _IssuesUITest
{
public override string Issue => "[Windows] TabbedPage menu item text color";

public Issue26754(TestDevice device)
: base(device)
{ }

[Test]
[Category(UITestCategories.TabbedPage)]
public void VerifyTabbedPageMenuItemTextColor()
{
App.WaitForElement("TestLabel");
App.Tap("More");
VerifyScreenshot();
}
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.