TutorialCoachMark.Maui 0.0.3-pre

This is a prerelease version of TutorialCoachMark.Maui.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package TutorialCoachMark.Maui --version 0.0.3-pre                
NuGet\Install-Package TutorialCoachMark.Maui -Version 0.0.3-pre                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TutorialCoachMark.Maui" Version="0.0.3-pre" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TutorialCoachMark.Maui --version 0.0.3-pre                
#r "nuget: TutorialCoachMark.Maui, 0.0.3-pre"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install TutorialCoachMark.Maui as a Cake Addin
#addin nuget:?package=TutorialCoachMark.Maui&version=0.0.3-pre&prerelease

// Install TutorialCoachMark.Maui as a Cake Tool
#tool nuget:?package=TutorialCoachMark.Maui&version=0.0.3-pre&prerelease                

Maui.TutorialCoachMark

Create a beautiful and easy tutorial for your .net maui application.

NuGet

Build and publish packages

Getting started

  • Install the TutorialCoachMark.Maui package
Install-Package TutorialCoachMark.Maui -Version 0.0.2-pre
  • Add TutorialCoachMark declaration to your MauiAppBuilder and configure it to connect to your API
public static class MauiProgram
{
	public static MauiApp CreateMauiApp()
	{
            var builder = MauiApp.CreateBuilder();
            builder
            .UseMauiApp<App>()
            .ConfigureFonts(fonts =>
            {
                fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
                fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
            })
            .UseTutorialCoachMark();

		return builder.Build();
	}
}
  • You can now use the TutorialCoachMark extensions defining the coachmark steps and the target view
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage
    x:Class="Maui.TutorialCoachMark.Sample.MainPage"
    xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    xmlns:t="clr-namespace:Maui.TutorialCoachMark;assembly=Maui.TutorialCoachMark"
    x:Name="page"
    t:Tutorial.EnableTutorial="true">

    <ScrollView>
        <VerticalStackLayout Padding="30,0" Spacing="25">
            <Image
                Aspect="AspectFit"
                HeightRequest="185"
                Source="dotnet_bot.png" />

            <Label
                t:Tutorial.TutorialOrder="1"
                t:Tutorial.TutorialParent="{Reference page}"
                Text="Hello, World!">
                <t:Tutorial.CoachMarkView>
                    <StackLayout>
                        <Label
                            FontAttributes="Bold"
                            Text="Describe your elements!"
                            TextColor="White" />
                    </StackLayout>
                </t:Tutorial.CoachMarkView>
            </Label>
    </ScrollView>
</ContentPage>

<p align="center"> <kbd> <img src="https://github.com/felipebaltazar/Maui.TutorialCoachMark/blob/main/Images/sample.gif" alt="home page" width=45% /> </kbd> </p>

Repo Activity

Alt

Product Compatible and additional computed target framework versions.
.NET net8.0-android34.0 is compatible.  net8.0-ios18.0 is compatible.  net8.0-maccatalyst18.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.0.5-pre 53 10/17/2024
0.0.4-pre 45 10/17/2024
0.0.3-pre 54 10/13/2024
0.0.1-pre-gc1c88381b7 51 10/13/2024
0.0.1-pre 46 10/8/2024