Skip to content

Commit a246c3c

Browse files
Updated Migrated methods in Migration.md
1 parent ba77a12 commit a246c3c

File tree

1 file changed

+142
-76
lines changed

1 file changed

+142
-76
lines changed

MAUI/Rich-Text-Editor/Migration.md

Lines changed: 142 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -14,91 +14,157 @@ To migrate easily from [`Xamarin SfRichTextEditor`](https://help.syncfusion.com/
1414
## Namespaces
1515

1616
<table>
17-
<tr>
18-
<th>Xamarin SfRichTextEditor</th>
19-
<th>.NET MAUI SfRichTextEditor</th></tr>
20-
<tr>
21-
<td>Syncfusion.RichTextEditor.XForms</td>
22-
<td>Syncfusion.Maui.RichTextEditor</td></tr>
17+
<tr>
18+
<th>Xamarin SfRichTextEditor</th>
19+
<th>.NET MAUI SfRichTextEditor</th>
20+
</tr>
21+
<tr>
22+
<td>Syncfusion.RichTextEditor.XForms</td>
23+
<td>Syncfusion.Maui.RichTextEditor</td>
24+
</tr>
2325
</table>
2426

2527
## Properties
2628

2729
<table>
28-
<tr>
29-
<th>Xamarin SfRichTextEditor</th>
30-
<th>.NET MAUI SfRichTextEditor</th>
31-
<th>Description</th></tr>
32-
<tr>
33-
<td>{{'[AutoSize](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_AutoSize)'| markdownify }}</td>
34-
<td>EnableAutoSize</td>
35-
<td>Gets or sets a value indicating whether the editor should automatically resize based on its content.</td>
36-
</tr>
37-
<tr>
38-
<td>{{'[BackgroundColor](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_BackgroundColor)'| markdownify }}</td>
39-
<td>EditorBackgroundColor</td>
40-
<td>Gets or sets the background color of the editor's content area.</td>
41-
</tr>
42-
43-
<tr>
44-
<td>{{'[DefaultFont](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_DefaultFont)'| markdownify }}</td>
45-
<td>DefaultFontFamily</td>
46-
<td>Gets or sets the default font family.</td>
47-
</tr>
48-
49-
<tr>
50-
<td>{{'[DefaultFontColor](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_DefaultFontColor)'| markdownify }}</td>
51-
<td>DefaultTextColor</td>
52-
<td>Gets or sets the default text color.</td>
53-
</tr>
54-
55-
<tr>
56-
<td>{{'[PlaceHolder](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_PlaceHolder)'| markdownify }}</td>
57-
<td>Placeholder</td>
58-
<td>Gets or sets the placeholder text that is displayed when the editor is empty.</td>
59-
</tr>
60-
61-
<tr>
62-
<td>{{'[PlaceHolderFontColor](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_PlaceHolderFontColor)'| markdownify }}</td>
63-
<td>PlaceholderColor</td>
64-
<td>Gets or sets the value for place holder font color.</td>
65-
</tr>
66-
67-
<tr>
68-
<td>{{'[PlaceHolderFontFamily](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_PlaceHolderFontFamily)'| markdownify }}</td>
69-
<td>PlaceholderFontFamily</td>
70-
<td>Gets or sets the value for place holder font family.</td>
71-
</tr>
30+
<tr>
31+
<th>Xamarin SfRichTextEditor</th>
32+
<th>.NET MAUI SfRichTextEditor</th>
33+
<th>Description</th>
34+
</tr>
35+
<tr>
36+
<td>{{'[AutoSize](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_AutoSize)'| markdownify }}</td>
37+
<td>EnableAutoSize</td>
38+
<td>Gets or sets a value indicating whether the editor should automatically resize based on its content.</td>
39+
</tr>
40+
<tr>
41+
<td>{{'[BackgroundColor](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_BackgroundColor)'| markdownify }}</td>
42+
<td>EditorBackgroundColor</td>
43+
<td>Gets or sets the background color of the editor's content area.</td>
44+
</tr>
45+
<tr>
46+
<td>{{'[DefaultFont](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_DefaultFont)'| markdownify }}</td>
47+
<td>DefaultFontFamily</td>
48+
<td>Gets or sets the default font family.</td>
49+
</tr>
50+
<tr>
51+
<td>{{'[DefaultFontColor](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_DefaultFontColor)'| markdownify }}</td>
52+
<td>DefaultTextColor</td>
53+
<td>Gets or sets the default text color.</td>
54+
</tr>
55+
<tr>
56+
<td>{{'[PlaceHolder](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_PlaceHolder)'| markdownify }}</td>
57+
<td>Placeholder</td>
58+
<td>Gets or sets the placeholder text that is displayed when the editor is empty.</td>
59+
</tr>
60+
<tr>
61+
<td>{{'[PlaceHolderFontColor](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_PlaceHolderFontColor)'| markdownify }}</td>
62+
<td>PlaceholderColor</td>
63+
<td>Gets or sets the value for place holder font color.</td>
64+
</tr>
65+
<tr>
66+
<td>{{'[PlaceHolderFontFamily](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_PlaceHolderFontFamily)'| markdownify }}</td>
67+
<td>PlaceholderFontFamily</td>
68+
<td>Gets or sets the value for place holder font family.</td>
69+
</tr>
70+
<tr>
71+
<td>{{'[PlaceHolderFontSize](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_PlaceHolderFontSize)'| markdownify }}</td>
72+
<td>PlaceholderFontSize</td>
73+
<td>Gets or sets the value for place holder font size.</td>
74+
</tr>
75+
<tr>
76+
<td>{{'[WordWrap](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_PlaceHolderFontSize)'| markdownify }}</td>
77+
<td>EnableWordWrap</td>
78+
<td>Gets or sets the word-wrap that allows long words to be able to be broken and wrap onto the next line.<td>
79+
</tr>
80+
</table>
7281

73-
<tr>
74-
<td>{{'[PlaceHolderFontSize](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_PlaceHolderFontSize)'| markdownify }}</td>
75-
<td>PlaceholderFontSize</td>
76-
<td>Gets or sets the value for place holder font size.</td>
77-
</tr>
82+
## Events
7883

79-
<tr>
80-
<td>{{'[WordWrap](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_PlaceHolderFontSize)'| markdownify }}</td>
81-
<td>EnableWordWrap</td>
82-
<td>Gets or sets the word-wrap that allows long words to be able to be broken and wrap onto the next line.</td>
83-
</tr>
84+
<table>
85+
<tr>
86+
<th>Xamarin SfRichTextEditor</th>
87+
<th>.NET MAUI SfRichTextEditor</th>
88+
<th>Description</th>
89+
</tr>
90+
<tr>
91+
<td>{{'[ImageInserted](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_ImageRequest)'| markdownify }}</td>
92+
<td>ImageRequested</td>
93+
<td>Occurs when an image is about to be inserted, allowing for customization of the image source.</td>
94+
</tr>
95+
<tr>
96+
<td>{{'[HyperlinkSelected](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_ImageInserted)'| markdownify }}</td>
97+
<td>HyperlinkClicked</td>
98+
<td>Occurs when a hyperlink is tapped, allowing for custom actions to be performed.</td>
99+
</tr>
84100
</table>
85101

86-
## Events
102+
## Methods
87103

88104
<table>
89-
<tr>
90-
<th>Xamarin SfRichTextEditor</th>
91-
<th>.NET MAUI SfRichTextEditor</th>
92-
<th>Description</th>
93-
</tr>
94-
<tr>
95-
<td>{{'[ImageInserted](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_ImageRequest)'| markdownify }}</td>
96-
<td>ImageRequested</td>
97-
<td>Occurs when an image is about to be inserted, allowing for customization of the image source.</td>
98-
</tr>
99-
<tr>
100-
<td>{{'[HyperlinkSelected](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_ImageInserted)'| markdownify }}</td>
101-
<td>HyperlinkClicked</td>
102-
<td>Occurs when a hyperlink is tapped, allowing for custom actions to be performed.</td>
103-
</tr>
105+
<tr>
106+
<th>Xamarin SfRichTextEditor</th>
107+
<th>.NET MAUI SfRichTextEditor</th>
108+
<th>Description</th>
109+
</tr>
110+
<tr>
111+
<td>{{'[AlignFull()](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_AlignFull)'| markdownify }}</td>
112+
<td>AlignJustify()</td>
113+
<td>Justifies the paragraph.</td>
114+
</tr>
115+
<tr>
116+
<td>{{'[ApplyFont(string fontName)](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_ApplyFont_System_String_)'| markdownify }}</td>
117+
<td>ApplyFontFamily(string fontName)</td>
118+
<td>JApplies the specified font family.</td>
119+
</tr>
120+
<tr>
121+
<td>{{'[EditHyperlink(string url, string text)](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_EditHyperlink_System_String_System_String_)'| markdownify }}</td>
122+
<td>EditHyperlink(string text, string oldUrl, string newUrl)</td>
123+
<td>Edits the hyperlink.</td>
124+
</tr>
125+
<tr>
126+
<td>{{'[InsertHyperlink(string url, string displayText)](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_InsertHyperlink_System_String_System_String_)'| markdownify }}</td>
127+
<td>InsertHyperlink(string displayText, string Url)</td>
128+
<td>Inserts the hyperlink.</td>
129+
</tr>
130+
<tr>
131+
<td>{{'[RemoveHyperlink()](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_RemoveHyperlink)'| markdownify }}</td>
132+
<td>RemoveHyperlink(string text, string Url)</td>
133+
<td>Removes the hyperlink.</td>
134+
</tr>
135+
<tr>
136+
<td>{{'[InsertImage(ImageSource imageSource)](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_InsertImage_Syncfusion_XForms_RichTextEditor_ImageSource_)'| markdownify }}</td>
137+
<td>InsertImage(SfRichTextEditorImageSource imageSource)</td>
138+
<td>Inserts the specified image into the SfRichTextEditor.</td>
139+
</tr>
140+
<tr>
141+
<td>{{'[SetFontColor(string fontColor)](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_SetFontColor_System_String_)'| markdownify }}</td>
142+
<td>ApplyTextColor(Color textColor)</td>
143+
<td>Apply the text color.</td>
144+
</tr>
145+
<tr>
146+
<td>{{'[SetFontSize(string fontSize)](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_SetFontSize_System_String_)'| markdownify }}</td>
147+
<td>ApplyFontSize(double fontSize)</td>
148+
<td>Apply the font size.</td>
149+
</tr>
150+
<tr>
151+
<td>{{'[SetHighlightColor(string color)](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_SetHighlightColor_System_String_)'| markdownify }}</td>
152+
<td>ApplyHighlightColor(Color highlightColor)</td>
153+
<td>Highlights the background color.</td>
154+
</tr>
155+
<tr>
156+
<td>{{'[SetParagraphFormat(string heading)](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_SetParagraphFormat_System_String_)'| markdownify }}</td>
157+
<td>ApplyParagraphFormat(RichTextEditorParagraphFormat format)</td>
158+
<td>Apply the paragraph formatting style.</td>
159+
</tr>
160+
<tr>
161+
<td>{{'[ToggleSubScript()](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_ToggleSubScript)'| markdownify }}</td>
162+
<td>ToggleSubscript()</td>
163+
<td>Toggles the selected text as sub script format.</td>
164+
</tr>
165+
<tr>
166+
<td>{{'[ToggleSuperScript()](https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.RichTextEditor.SfRichTextEditor.html#Syncfusion_XForms_RichTextEditor_SfRichTextEditor_ToggleSuperScript)'| markdownify }}</td>
167+
<td>ToggleSuperscript()</td>
168+
<td>Toggles the selected text as super script format.</td>
169+
</tr>
104170
</table>

0 commit comments

Comments
 (0)