如何在PrismContentPage导航栏上设置图标?

时间:2017-01-03 12:02:43

标签: xamarin.forms prism

请快速解决方案

<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}">

1 个答案:

答案 0 :(得分:0)

添加图标到内容页面的属性就像填充.. 例如 图标=&#34; someImage.png&#34 ;;