2017-04-19 45 views
0

我必須在頁面中心設置導航欄的標題。我在我的.cs文件中完成了以下代碼。導航欄的標題設置爲以Xamarine爲中心

集導航欄:

var mainPage = new Registration.MainPage(); 
MainPage = new NavigationPage(mainPage); 

設置標題:

this.Title = "Registration"; 

請指引我,我怎麼可以設置標題爲中心。 enter image description here

回答