New to Telerik UI for .NET MAUI? Start a free 30-day trial

Controls Samples Application

The Telerik UI for .NET MAUI Controls Samples application provides many scenario-specific use cases designed to show off a subset of features for each component.

You can access the Controls Samples application in the following ways:

  • If you have already installed Telerik UI for .NET MAUI, navigate to the /[installation-path]/Telerik UI for .NET MAUI [version]/Examples/ControlsSamples folder and open the ControlsSamples.sln file;
  • You can explore the code directly in the .NET MAUI Samples repository on GitHub;

If you don't have a Telerik UI for .NET MAUI installation, check the Download Telerik UI for .NET MAUI and Install Telerik UI for .NET MAUI help topics where all steps are described.

Run ControlsSamples on Windows

  1. Open the ControlsSamples.sln on Windows with Visual Studio 2022.

    Telerik UI .NET MAUI ControlsSamples App VS

  2. Wait for the project to restore.

  3. Select the target framework of the project.

    Telerik UI .NET MAUI ControlsSamples App

  4. Select the emulator or device on which you want to run the application.

    • ControlsSamples application on Android.

    Telerik UI for .NET MAUI ControlsSamples App Android

    • ControlsSamples application on WinUI.

    Telerik UI for .NET MAUI ControlsSamples App WinUI

Run ControlsSamples on macOS

Review the macOS Install .NET MAUI GitHub Wiki page for more information how to get started on macOS.

  1. Open Terminal inside the ControlsSamples folder.
  2. Run on macOS using the following command:

    dotnet build -t:Run -f net8.0-maccatalyst

    • ControlsSamples application on MacOS.

    Telerik UI for .NET MAUI ControlsSamples App MacCatalyst

  3. Run on iOS using the following command:

    dotnet build -t:Run -f net8.0-ios—This command starts a default simulator. To run the application on specific device, you need to provide the device ID. For example: dotnet build -t:Run -f net8.0-ios -p:_DeviceName=:v2:udid=02C556DA-64B8-440B-8F06-F8C56BB7CC22 where the device ID is 02C556DA-64B8-440B-8F06-F8C56BB7CC22.

    To find the ID:

    1. Open Xcode,
    2. Click Devices from the Window menu.
    3. Select Connected device.
    4. Under Device Information, you will get an identifier, or UDID, of the device.

    • ControlsSamples application on iOS.

    Telerik UI for .NET MAUI ControlsSamples App iOS

    Check the .NET MAUI Examples, Demos, and Sample Apps Overview topic which lists all the sample applications built with Telerik UI for .NET MAUI.

See Also

In this article