diff --git a/GettingStarted/GettingStarted/AppShell.xaml b/GettingStarted/GettingStarted/AppShell.xaml index c8ceb75..4fceb8c 100644 --- a/GettingStarted/GettingStarted/AppShell.xaml +++ b/GettingStarted/GettingStarted/AppShell.xaml @@ -4,11 +4,10 @@ xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:local="clr-namespace:GettingStarted" - Shell.FlyoutBehavior="Flyout" + Shell.FlyoutBehavior="Disabled" Title="GettingStarted"> diff --git a/README.md b/README.md index 19e6f7f..4a4bab2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,50 @@ -# maui-richtexteditor-samples -This repository contains sample for .NET MAUI SfRichTextEditor control +# Getting started with Syncfusion .NET MAUI Rich Text Editor control + +## Overview +The .NET MAUI Rich Text Editor provides a simple yet powerful editor interface to compose richly formatted text with all the common formatting options like bold and italics. The Rich Text Editor is used to create messaging applications, email composers, blog editors, forum post text boxes, feedback and review sections, notes sections, and more. It has a variety of tools to edit and format rich content and returns valid HTML markup content. + +## Creating an application with Rich Text Editor +1. Create a new .NET MAUI application in Visual Studio. +2. Syncfusion .NET MAUI components are available in [nuget.org.](https://www.nuget.org/) +3. To add SfRichTextEditor to your project, open the NuGet package manager in Visual Studio, search for `Syncfusion.Maui.RichTextEditor` and then install it. +4. Initialize the `SfRichTextEditor`. + +#### XAML + +```xml + + + + + + + +``` + +#### C# + +```C# +using Syncfusion.Maui.RichTextEditor; + +public partial class MainPage : ContentPage +{ + public MainPage() + { + InitializeComponent(); + SfRichTextEditor richTextEditor = new SfRichTextEditor(); + this.Content = richTextEditor; + } +} +``` + +### Output +rte + +## Troubleshooting + +### Path Too Long Exception + +If you are facing a "Path too long" exception when building this example project, close Visual Studio and rename the repository to a shorter name before building the project. + +