Skip to content

Commit ae5f65a

Browse files
Merge pull request #2 from SyncfusionExamples/update-repository
Update Getting Started Repository
2 parents 3c21627 + 727c528 commit ae5f65a

2 files changed

Lines changed: 51 additions & 4 deletions

File tree

GettingStarted/GettingStarted/AppShell.xaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@
44
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
55
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
66
xmlns:local="clr-namespace:GettingStarted"
7-
Shell.FlyoutBehavior="Flyout"
7+
Shell.FlyoutBehavior="Disabled"
88
Title="GettingStarted">
99

1010
<ShellContent
11-
Title="Home"
1211
ContentTemplate="{DataTemplate local:MainPage}"
1312
Route="MainPage" />
1413

README.md

Lines changed: 50 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,50 @@
1-
# maui-richtexteditor-samples
2-
This repository contains sample for .NET MAUI SfRichTextEditor control
1+
# Getting started with Syncfusion .NET MAUI Rich Text Editor control
2+
3+
## Overview
4+
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.
5+
6+
## Creating an application with Rich Text Editor
7+
1. Create a new .NET MAUI application in Visual Studio.
8+
2. Syncfusion .NET MAUI components are available in [nuget.org.](https://www.nuget.org/)
9+
3. To add SfRichTextEditor to your project, open the NuGet package manager in Visual Studio, search for `Syncfusion.Maui.RichTextEditor` and then install it.
10+
4. Initialize the `SfRichTextEditor`.
11+
12+
#### XAML
13+
14+
```xml
15+
<ContentPage . . .
16+
xmlns:rte="clr-namespace:Syncfusion.Maui.RichTextEditor;assembly=Syncfusion.Maui.RichTextEditor">
17+
18+
<Grid>
19+
<rte:SfRichTextEditor/>
20+
</Grid>
21+
22+
</ContentPage>
23+
```
24+
25+
#### C#
26+
27+
```C#
28+
using Syncfusion.Maui.RichTextEditor;
29+
30+
public partial class MainPage : ContentPage
31+
{
32+
public MainPage()
33+
{
34+
InitializeComponent();
35+
SfRichTextEditor richTextEditor = new SfRichTextEditor();
36+
this.Content = richTextEditor;
37+
}
38+
}
39+
```
40+
41+
### Output
42+
<img width="1418" height="685" alt="rte" src="https://github.com/user-attachments/assets/10b43279-9686-4b16-a5c9-45869357923a" />
43+
44+
## Troubleshooting
45+
46+
### Path Too Long Exception
47+
48+
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.
49+
50+

0 commit comments

Comments
 (0)