我創建了一個Xamarin.Forms項目,然後添加了一個名爲Main.xaml的「Forms Xaml Page」。之後,我嘗試爲ContentPage選擇一個標題。但是我無法在ContentPage中找到Title屬性。 Visual Studio的2015年並沒有顯示此選項,我(見圖片波紋管):從XAML的ContentPage中訪問標題屬性 - Xamarin.Forms
Where's the Title property in ContentPage?
而且,我已經把ContentPage內StackLayout,但我不能把這個按鈕裏面StackLayout。我可以將Button放在ContentPage中,但不能放在StackLayout中。爲什麼會發生(見下圖)?
Why is not possible to find a Button inside the StackLayout?
我想我可以從代碼隱藏訪問標題,而不是從XAML。
智能感知被搞砸了。嘗試設置Title並運行它,忽略Intellisense錯誤。它應該建立並運行。 – Jason
它運行。有效。但我希望我的Visual Studio 2015能夠幫助我進入XAML。在沒有IDE幫助的情況下製作xaml並不好。 –
還有許多其他問題可以解決固定Intellisense問題的地址 – Jason