如何在棱镜内容页面导航栏上设置图标



请快速给出解决方案

<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:prism="clr-namespace:Prism.Mvvm;assembly=Prism.Forms"
             xmlns:commonViews="clrnamespace:Lawyer_Diaries.Views.CommonViews;assembly=Lawyer_Diaries"
             prism:ViewModelLocator.AutowireViewModel="True"
             x:Class="Lawyer_Diaries.Views.DashBoard"          
             Padding="{StaticResource Paddingios}">

将图标添加到内容页面的属性中,就像填充一样。例如图标="someImage.png";

最新更新