You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 8, 2019. It is now read-only.
I've investigated about an issue on UWP with IconToolbarItem.
It seems that the issue only occur in case of the IconToolbarItem is used in a IconNavigationPage, that is itself used in the Detail of a MasterDetailPage.
If we launch the UWP project from IconizeSample, the IconToolbarItems are well displayed in the TabbedPage:
var tabbedPage = new IconTabbedPage { Title = "Iconize" };
foreach (var module in Plugin.Iconize.Iconize.Modules)
{
tabbedPage.Children.Add(new Page1
{
BindingContext = new ModuleWrapper(module),
Icon = module.Keys.FirstOrDefault()
});
}
MainPage = new IconNavigationPage(tabbedPage);
If we replace the TabbedPage by a MasterDetailPage, it also works if the Detail is not a IconNavigationPage:
var mdPage = new MasterDetailPage();
mdPage.Master = new ContentPage
{
Title = "Iconize"
};
var module = Plugin.Iconize.Iconize.Modules.First();
mdPage.Detail = new Page1
{
BindingContext = new ModuleWrapper(module),
Icon = module.Keys.FirstOrDefault()
};
MainPage = new IconNavigationPage(mdPage);
But if we put the Detail in an IconNavigationPage, the icons of the IconToolbarItem are no longer visible:
var mdPage = new MasterDetailPage();
mdPage.Master = new ContentPage
{
Title = "Iconize"
};
var module = Plugin.Iconize.Iconize.Modules.First();
mdPage.Detail = new IconNavigationPage(new Page1
{
BindingContext = new ModuleWrapper(module),
Icon = module.Keys.FirstOrDefault()
});
MainPage = mdPage;
Is there a way to fix this awaiting a new package version?
The text was updated successfully, but these errors were encountered:
Hello,
I've investigated about an issue on UWP with IconToolbarItem.
It seems that the issue only occur in case of the IconToolbarItem is used in a IconNavigationPage, that is itself used in the Detail of a MasterDetailPage.
If we launch the UWP project from IconizeSample, the IconToolbarItems are well displayed in the TabbedPage:
If we replace the TabbedPage by a MasterDetailPage, it also works if the Detail is not a IconNavigationPage:
But if we put the Detail in an IconNavigationPage, the icons of the IconToolbarItem are no longer visible:
Is there a way to fix this awaiting a new package version?
The text was updated successfully, but these errors were encountered: