Migrate from Xamarin.Forms SfKanban to .NET MAUI SfKanban

21 Jul 20262 minutes to read

The Kanban Board was created from scratch using the upgraded APIs and performance of the .NET MAUI graphics library and framework layouts. To maintain consistency in API naming, some Xamarin APIs have been renamed in MAUI SfKanban. The following table lists the API changes from Xamarin SfKanban to MAUI SfKanban:

API migration

Import the Kanban namespace and initialize SfKanban as shown in the following code sample.

Xamarin
<ContentPage
    . . .
    xmlns:kanban="clr-namespace:Syncfusion.SfKanban.XForms;assembly=Syncfusion.SfKanban.XForms">

    <kanban:SfKanban/>
</ContentPage>
using Syncfusion.SfKanban.XForms;
...

SfKanban kanban = new SfKanban();
this.Content = kanban;
.NET MAUI
<ContentPage
    . . .    
    xmlns:kanban="clr-namespace:Syncfusion.Maui.Kanban;assembly=Syncfusion.Maui.Kanban">
   
    <kanban:SfKanban/>
</ContentPage>
using Syncfusion.Maui.Kanban;
. . .
SfKanban kanban = new SfKanban();
this.Content = kanban;

The following table illustrates the API migration for the kanban.

KanbanModel

Xamarin .NET MAUI
ColorKey IndicatorFill

KanbanErrorBarSettings

Xamarin .NET MAUI
Color Fill
MaxValidationColor MaxValidationFill
MinValidationColor MinValidationFill

Known issue

  • Smooth Drag Transition: Drag transitions are smoother on mobile devices.
  • Memory Optimization: Control loading is optimized for mobile devices.

Upcoming features

  • Keep Card Support: Retain specific cards in a column regardless of status changes.
  • Placeholder Customization: Customize the placeholder displayed during drag-and-drop.
  • Multiple Category Support: Assign cards to multiple categories for better organization.
  • Custom Empty Column Template: Define a custom template for columns with no cards.

Upcoming improvements

  • Drag UI Enhancements: The drag UI and invalidation indicator will be improved.

Support and feedback

If you are unable to find the migration information you require in the self-help resources listed above, please contact us by creating a support ticket. Do not see what you need? Please request it in our feedback portal.