Syncfusion.Maui.RichTextEditor 35.1.40

Prefix Reserved
dotnet add package Syncfusion.Maui.RichTextEditor --version 35.1.40
                    
NuGet\Install-Package Syncfusion.Maui.RichTextEditor -Version 35.1.40
                    
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="Syncfusion.Maui.RichTextEditor" Version="35.1.40" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Syncfusion.Maui.RichTextEditor" Version="35.1.40" />
                    
Directory.Packages.props
<PackageReference Include="Syncfusion.Maui.RichTextEditor" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Syncfusion.Maui.RichTextEditor --version 35.1.40
                    
#r "nuget: Syncfusion.Maui.RichTextEditor, 35.1.40"
                    
#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.
#:package Syncfusion.Maui.RichTextEditor@35.1.40
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Syncfusion.Maui.RichTextEditor&version=35.1.40
                    
Install as a Cake Addin
#tool nuget:?package=Syncfusion.Maui.RichTextEditor&version=35.1.40
                    
Install as a Cake Tool

Syncfusion .NET MAUI RichTextEditor (SfRichTextEditor)

The Syncfusion .NET MAUI RichTextEditor enables users to create, edit, and format rich text content with a comprehensive toolbar and built-in formatting options. It was built from the ground up for performance, so it stays smooth and responsive even with large documents and complex formatting. Build rich text editing experiences for Android, iOS, macOS, and Windows from a single codebase.

Documentation · Getting Started · API Reference · Demos on GitHub · Product Page · Release Notes

.NET MAUI Rich Text Editor


Key features

Text formatting

  • Text styling: bold, italic, underline, strikethrough, and subscript/superscript.
  • Font options: customizable font family, size, and color.
  • Paragraph formatting: text alignment (left, center, right, justify).
  • Indentation: increase and decrease indent for structured content.

Lists and structure

  • Bullet and numbered lists: create organized lists with multiple levels.
  • Clear formatting: remove all formatting and revert to plain text.
  • Code blocks: embed code snippets with syntax highlighting.

Content management

  • Insert elements: images, hyperlinks, tables, and custom HTML.
  • Undo/Redo: full undo and redo support with history.
  • Copy/Paste: smart handling of pasted content with formatting options.

Toolbar and UI

  • Customizable toolbar: show/hide toolbar buttons and organize them in groups.
  • Toolbar modes: compact and expanded toolbar layouts for different screen sizes.
  • Theme support: light and dark theme support with customizable colors.
  • Keyboard shortcuts: standard text editor shortcuts (Ctrl+B, Ctrl+I, Ctrl+U, etc.).

Output and export

  • HTML export: extract formatted content as HTML.
  • Plain text export: get unformatted text content.

More

  • RTL support: right-to-left text direction for Arabic and Hebrew content.
  • Localization: multi-language support for toolbar labels and menus.

Supported platforms

Platform Target framework
Android net9.0-android, net10.0-android
iOS net9.0-ios, net10.0-ios
macOS (Mac Catalyst) net9.0-maccatalyst, net10.0-maccatalyst
Windows net9.0-windows10.0.19041, net10.0-windows10.0.19041

Minimum OS versions follow the .NET MAUI supported platforms.


Installation

.NET CLI

dotnet add package Syncfusion.Maui.RichTextEditor

Package Manager Console

Install-Package Syncfusion.Maui.RichTextEditor

Getting started

1. Register the Syncfusion core handler

In MauiProgram.cs, call ConfigureSyncfusionCore():

using Syncfusion.Maui.Core.Hosting;

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

        return builder.Build();
    }
}

2. Create a ViewModel

using System.Collections.ObjectModel;

public class DocumentViewModel
{
    public string HtmlContent { get; set; }

    public DocumentViewModel()
    {
        HtmlContent = "<p><b>Welcome to RichTextEditor</b></p><p>Create and edit formatted text easily.</p>";
    }
}

3. Add SfRichTextEditor to your page

<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:syncfusion="clr-namespace:Syncfusion.Maui.RichTextEditor;assembly=Syncfusion.Maui.RichTextEditor"
             xmlns:local="clr-namespace:YourAppNamespace"
             x:Class="YourAppNamespace.MainPage">

    <ContentPage.BindingContext>
        <local:DocumentViewModel />
    </ContentPage.BindingContext>

    <Grid RowDefinitions="*, Auto">
        <syncfusion:SfRichTextEditor x:Name="RichTextEditor"
                                     Value="{Binding HtmlContent}"
                                     Grid.Row="0" />
    </Grid>

</ContentPage>

Run the app. The editor displays a toolbar with formatting options and an editable text area.


Common scenarios

Customize toolbar buttons

<syncfusion:SfRichTextEditor Value="Start typing...">
    <syncfusion:SfRichTextEditor.ToolbarItems>
        <syncfusion:RichTextToolbarItem Type="Bold" />
        <syncfusion:RichTextToolbarItem Type="Italic" />
        <syncfusion:RichTextToolbarItem Type="Underline" />
        <syncfusion:RichTextToolbarItem Type="StrikeThrough" />
        <syncfusion:RichTextToolbarItem Type="FontFamily" />
        <syncfusion:RichTextToolbarItem Type="FontSize" />
        <syncfusion:RichTextToolbarItem Type="TextColor" />
    </syncfusion:SfRichTextEditor.ToolbarItems>
</syncfusion:SfRichTextEditor>

Set height and placeholder text

<syncfusion:SfRichTextEditor Value="Start typing..."
                             HeightRequest="400"
                             Placeholder ="Enter your content here..."
                             BorderColor="Gray" />

Insert content programmatically

public class ContentInsertViewModel
{
    private SfRichTextEditor editor;

    public void InsertLink()
    {
        editor.InsertHyperlink("https://www.syncfusion.com", "Syncfusion");
    }

    public void InsertImage()
    {
        RichTextEditorImageSource richTextEditorImageSource = new();
        richTextEditorImageSource.Source = ImageSource.FromUri(new Uri("https://aka.ms/campus.jpg"));
        editor.InsertImage(richTextEditorImageSource);
    }

    public void InsertTable()
    {
        editor.InsertTable(rowCount: 3, columnCount: 3);
    }
}

For more features, see the RichTextEditor documentation.


Dependencies

Installing this package also installs the following packages:

  • Microsoft.Maui.Controls
  • Syncfusion.Maui.Buttons
  • Syncfusion.Maui.Core
  • Syncfusion.Maui.Inputs
  • Syncfusion.Maui.ListView
  • Syncfusion.Maui.Picker
  • Syncfusion.Maui.Popup
  • Syncfusion.Maui.Sliders
  • Syncfusion.Maui.Toolbar

Licensing

This is a commercial product and requires a paid license. You have three options:

Register your license key

Register the key in MauiProgram.cs before the app is built:

Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("YOUR_LICENSE_KEY");

For details, see Licensing overview. Use of this package is subject to the Syncfusion EULA.


Support and feedback


About Syncfusion®

Founded in 2001 and headquartered in Research Triangle Park, N.C., Syncfusion® has more than 26,000+ customers and more than 1 million users, including large financial institutions, Fortune 500 companies, and global IT consultancies.

Today, we provide 1600+ components and frameworks for web (Blazor, ASP.NET Core, ASP.NET MVC, ASP.NET WebForms, JavaScript, Angular, React, Vue, and Flutter), mobile (.NET MAUI, Xamarin, Flutter, UWP, and JavaScript), and desktop development (WinForms, WPF, WinUI, Flutter and UWP). We provide ready-to-deploy enterprise software for dashboards, reports, data integration, and big data processing. Many customers have saved millions in licensing fees by deploying our software.


sales@syncfusion.com | www.syncfusion.com | Toll Free: 1-888-9 DOTNET

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-android35.0 is compatible.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-ios18.0 is compatible.  net9.0-maccatalyst was computed.  net9.0-maccatalyst18.0 is compatible.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net9.0-windows10.0.19041 is compatible.  net10.0 is compatible.  net10.0-android was computed.  net10.0-android36.0 is compatible.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-ios26.0 is compatible.  net10.0-maccatalyst was computed.  net10.0-maccatalyst26.0 is compatible.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed.  net10.0-windows10.0.19041 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Syncfusion.Maui.RichTextEditor:

Package Downloads
Syncfusion.Maui.A2UI

This package provides the functionality to utilize the features of Syncfusion® .Net Maui A2UI controls and more.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Syncfusion.Maui.RichTextEditor:

Repository Stars
syncfusion/maui-demos
This repository contains the Syncfusion .NET MAUI control’s samples and the guide to use them
Version Downloads Last Updated
35.1.40 142 10/13/2026
35.1.39 196 10/6/2026
35.1.37 310 9/29/2026
34.2.9 385 9/21/2026
34.2.8 252 9/14/2026
34.2.7 374 9/8/2026
34.2.6 269 8/31/2026
34.2.5 471 8/25/2026
34.2.4 353 8/17/2026
34.2.3 281 8/11/2026
34.2.2 262 8/5/2026
34.1.33 347 7/27/2026
34.1.32 306 7/21/2026
34.1.31 1,109 7/14/2026
34.1.30 224 7/9/2026
34.1.29 238 7/6/2026
33.2.15 279 6/23/2026
33.2.13 279 6/16/2026
33.2.12 876 6/9/2026
33.2.10 301 6/2/2026
Loading failed