ToolbarItem icons no longer use (or inherit) the BarTextColor property from the parent NavigationPage on UWP.
Note: Works fine in iOS, Android. Regressed on UWP in XF 4.3.991211.
The icon should be tinted to the color specified in the BarTextColor property.
The icon is not updated and remains it's original color.
XF 4.3.0.947036 or below.
Icon is tinted white.

XF 4.3.0.991211 and above (incl 4.40-sr2).
Icon is not tinted.

Previously on 16299
Previously when building for 16299, this is how the command bar used to look.
Notice how the icon is properly scaled and is in larger. This is a separate issue reported in #9042.

See attached sample projects:
ToolbarIconTint_4.2.910310_Ok.zip
ToolbarIconTint_4.3.991211_Bad.zip
Related to #9042.
@samhouts @rmarinho This is due to the following changes made in Platform.cs in #8147:
Removed
button.SetBinding(AppBarButton.IconProperty, "IconImageSource", _imageSourceIconElementConverter);
Added
if (commandBar.IsDynamicOverflowEnabled && item.Order == ToolbarItemOrder.Secondary)
{
button.SetBinding(AppBarButton.IconProperty, "IconImageSource", _imageSourceIconElementConverter);
}
else
{
var img = new WImage();
img.SetBinding(WImage.SourceProperty, "Value");
img.SetBinding(WImage.DataContextProperty, "IconImageSource", _imageConverter);
button.Content = img;
}
When setting the IconProperty on an AppBarButton, this also automatically applies the tint color from BarTextColor. With the change to dynamically setting the button content, this native behavior is lost.
@samhouts Just wanted to touch base on this issue as I see it is marked "Ready for Work". Since this is a noticeable regression, would there be any chance to get this one looked at soon? Thanks!
This is on the backlog. I don't currently have an estimate of when we may begin work on this item, but we do prioritize regressions. Thank you for your patience!
Most helpful comment
@samhouts @rmarinho This is due to the following changes made in Platform.cs in #8147:
Removed
Added
When setting the
IconPropertyon anAppBarButton, this also automatically applies the tint color fromBarTextColor. With the change to dynamically setting the button content, this native behavior is lost.