Skip to content
Discussion options

You must be logged in to vote

it is a problem for me also.
I'm working around it by using reflection on the TabbedPage to access the internal members...

var tabbedPageManager =
            typeof(TabbedPage)
                .GetField("_tabbedPageManager", BindingFlags.NonPublic | BindingFlags.Instance)?
                .GetValue(VirtualView);

        if (tabbedPageManager != null)
        {
            BottomNavigationView? navView = (BottomNavigationView?)tabbedPageManager.GetType()
                .GetProperty("BottomNavigationView", BindingFlags.NonPublic | BindingFlags.Instance)
                ?.GetValue(tabbedPageManager);

        }

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ArtemAI
Comment options

Answer selected by ArtemAI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants