Xamarin.Forms 編輯器教學課程

在嘗試此教學課程之前,您應該已成功完成:

在本教學課程中,您會了解如何:

  • 在 XAML 中建立 Xamarin.FormsEditor
  • 回應 Editor 變更中的文字。
  • 自訂 Editor 的行為。

您將會使用 Visual Studio 2019 或 Visual Studio for Mac 來建立能示範如何自訂 Editor 之行為的簡單應用程式。 下列螢幕擷取畫面顯示的是最終的應用程式:

Screenshot of an auto-sizing Editor, on iOS and Android

您也會使用 XAML 熱重新載入 Xamarin.Forms 來查看 UI 變更,而不需重建應用程式。