Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic .NET MAUI Calendar control preview (Read 3254 times)
Slavcho
God Member
*****
Offline


tech.support

Posts: 3361
Joined: Oct 19th, 2005
.NET MAUI Calendar control preview
Sep 30th, 2022 at 3:14pm
Print Post  
A preview build of our .NET MAUI Calendar control is now available as a nuget package. If anyone is interested in trying it out, please install it from:

https://www.nuget.org/packages/MindFusion.Scheduling.Maui

Call the UseMindFusionScheduling extension from CreateMauiApp to configure the library:

Code
Select All
namespace CalendarMauiApp;

using MindFusion.Scheduling;

public static class MauiProgram
{
    public static MauiApp CreateMauiApp()
    {
        var builder = MauiApp.CreateBuilder();
        builder
            .UseMauiApp<App>()
            .UseMindFusionScheduling()
            .......);

        return builder.Build();
    }
} 



In order to use MindFusion.Scheduling types in Xaml, import the "http://mindfusion.eu/scheduling/maui" namespace schema:

Code
Select All
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage
    xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    xmlns:cal="http://mindfusion.eu/scheduling/maui"
    x:Class="CalendarMauiApp.MainPage">

	<Grid>

		<cal:Calendar
			x:Name="calendar"
			CurrentView="Timetable"
			DragBehavior="Scroll"
			WidthRequest="-1"
			HeightRequest="-1"
            />

	</Grid></ContentPage> 



Currently we support iOS, Android and Windows targets. MacOS one will be available for official release.

Any comments, questions and general feedback are welcome.
  
Back to top
 
IP Logged
 
Slavcho
God Member
*****
Offline


tech.support

Posts: 3361
Joined: Oct 19th, 2005
Re: .NET MAUI Calendar control preview
Reply #1 - Jan 2nd, 2023 at 6:02am
Print Post  
The 0.8 build of Scheduling.Maui package now includes macOS assemblies:
https://www.nuget.org/packages/MindFusion.Scheduling.Maui/
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint