I had created master detail page in Xamarin. Now I need to insert cart
icon in the master page.
How can I implement it.
I had created master detail page in Xamarin. Now I need to insert cart
icon in the master page.
How can I implement it.
Hello,
Welcome to our Microsoft Q&A platform!
Do you want to achieve the result like following screenshot?

If so, please open your Home page. And add ToolbarItems
<ContentPage.ToolbarItems>
<ToolbarItem Text="New"
Icon="icon.png"
Priority="0"
Order="Primary"
Clicked="ToolbarItem_Clicked"/>
</ContentPage.ToolbarItems>
======================Update========================
If you want to add number above cart icon, you can refer to this thread.

Best Regards,
Leon Lu
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Thanks,
According the mentioned code I have achieved this.
Now how can I put the counter on that icon like the following image

You are welcome, please see my updated answer please keep one thread for one question, if you have other questions, please create a new thread, it will help others have similar issue, they could find the answer quickly.
7 people are following this question.