Item Template

The Syncfusion item templates extension provides a predefined design for the Xamarin.Forms.

NOTE

Syncfusion Xamarin item template is available from v17.1.0.32.

Use the following steps to add the Syncfusion Xamarin item in Visual Studio:

  1. Open a new or existing Xamarin application.

  2. Select the Xamarin.Forms project. Add required items by either one of the options below:

    Option1: Click Syncfusion Menu and choose Essential Studio for Xamarin > Add Login Pageā€¦ or any other Form in Visual Studio.

    Syncfusion Menu for item template

    NOTE

    In Visual Studio 2019, Syncfusion menu is available under Extensions in Visual Studio menu.

    Option2: Right-click the Xamarin.Form project from the Solution Explorer and select the Syncfusion UI for Xamarin option.

    Syncfusion Item Template Context menu

    Option3: Right-click the Xamarin.Form project from the Solution Explorer. Open the Add New Item Dialog box by select Add > New Item.

    Add New Item menu

    Add new item dialog box

  3. Now, click ADD. The selected template is added to the project along with Syncfusion NuGet package references.

    After item template is add in project

    Syncfusion Packages is installed in project

    After Resource files add in project

Render Syncfusion item page after performed add new item by adding the selected template page as startup page in this application. Open the App.xaml.cs and make the following changes.

MainPage=new application name.Views.
Item name.selected template page name();

Example: If you added Login Page,

MainPage=new App1.Views.Login1.LoginPage();