{
  "$schema": "https://ai.syncfusion.com/schema/registry-item.json",
  "name": "sfrichtextboxadv-create-letters",
  "framework": "wpf",
  "type": "registry:component",
  "component": "RichTextEditor",
  "variant": "create-letters",
  "dependencies": [
    "Syncfusion.SfRichTextBoxAdv.WPF"
  ],
  "description": "SfRichTextBoxAdv with mail-merge letter templates, recipient selection, and rich formatting.",
  "meta": {
    "essentialStudioRelease": "2026 Volume 3 (v35.1.37)",
    "license": "commercial-or-community",
    "licenseNote": "The Syncfusion package is licensed. The composition in this file is source you own and edit. See https://ai.syncfusion.com/licensing.md",
    "requiresLicenseKey": true,
    "requiresServerEndpoint": false,
    "platformIndex": "https://ai.syncfusion.com/wpf/llms.txt",
    "skillPack": "syncfusion/wpf-ui-components-skills",
    "docs": "https://ai.syncfusion.com/gallery/wpf/sfrichtextboxadv-create-letters.md"
  },
  "files": [
    {
      "target": "src/components/sfrichtextboxadv-create-letters/SfRichTextBoxAdv.xaml",
      "content": "<UserControl x:Class=\"syncfusion.richtextboxadvdemos.wpf.CreateLetters.SfRichTextBoxAdv\"\n        xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\"\n        xmlns:x=\"http://schemas.microsoft.com/winfx/2006/xaml\"\n        xmlns:Syncfusion=\"http://schemas.syncfusion.com/wpf\"\n        xmlns:RichTextBoxAdv=\"clr-namespace:Syncfusion.Windows.Controls.RichTextBoxAdv;assembly=Syncfusion.SfRichTextBoxAdv.Wpf\"\n        x:Name=\"ribbonWindow\" Unloaded=\"OnSampleUnloaded\">\n\n    <Grid x:Name=\"Root\">\n        <Grid.RowDefinitions>\n            <RowDefinition Height=\"Auto\"/>\n            <RowDefinition Height=\"Auto\"/>\n            <RowDefinition Height=\"*\"/>\n        </Grid.RowDefinitions>\n\n        <Syncfusion:SfRichTextRibbon x:Name=\"richTextRibbon\" Grid.Row=\"0\" SnapsToDevicePixels=\"True\"\n                                      DataContext=\"{Binding ElementName=richTextBoxAdv}\"/>\n\n        <!-- Recipient Selection (below the ribbon so it is never overlapped) -->\n        <Border Grid.Row=\"1\" Padding=\"10,6\" Background=\"#F0F0F0\" BorderBrush=\"#FFD0D0D0\" BorderThickness=\"0,1,0,1\">\n            <StackPanel Orientation=\"Horizontal\" VerticalAlignment=\"Center\">\n                <TextBlock Text=\"Select Recipient: \" VerticalAlignment=\"Center\" FontSize=\"14\" Margin=\"0,0,10,0\"/>\n                <ComboBox x:Name=\"RecipientsComboBox\" Width=\"300\" Height=\"26\"\n                          FontSize=\"13\" VerticalContentAlignment=\"Center\"\n                          SelectionChanged=\"RecipientsComboBox_SelectionChanged\"/>\n            </StackPanel>\n        </Border>\n\n        <!-- SfRichTextBoxAdv with UIContainerAdv for mail merge -->\n        <Syncfusion:SfRichTextBoxAdv x:Name=\"richTextBoxAdv\" Grid.Row=\"2\"\n                                      Background=\"#F1F1F1\" BorderBrush=\"#0E000000\" BorderThickness=\"1\"\n                                      LayoutType=\"Pages\" AcceptsTab=\"True\" AllowDrop=\"True\">\n            <Syncfusion:SfRichTextBoxAdv.SpellChecker>\n                <RichTextBoxAdv:SpellChecker IsEnabled=\"True\"/>\n            </Syncfusion:SfRichTextBoxAdv.SpellChecker>\n            <Syncfusion:DocumentAdv>\n                <Syncfusion:DocumentAdv.ParagraphFormat>\n                    <Syncfusion:ParagraphFormat LeftIndent=\"0\" RightIndent=\"0\" FirstLineIndent=\"0\"\n                                                TextAlignment=\"Left\" AfterSpacing=\"0\" BeforeSpacing=\"0\"\n                                                LineSpacing=\"1\" LineSpacingType=\"Multiple\" Bidi=\"False\"/>\n                </Syncfusion:DocumentAdv.ParagraphFormat>\n                <Syncfusion:SectionAdv>\n                    <Syncfusion:SectionAdv.SectionFormat>\n                        <Syncfusion:SectionFormat PageSize=\"816 1056\" PageMargin=\"72 96 72 96\"\n                                                  HeaderDistance=\"48\" FooterDistance=\"48\"/>\n                    </Syncfusion:SectionAdv.SectionFormat>\n                    <Syncfusion:ParagraphAdv>\n                        <Syncfusion:ParagraphAdv.CharacterFormat>\n                            <Syncfusion:CharacterFormat FontSize=\"22\" FontFamily=\"Segoe UI\" Bold=\"True\"/>\n                        </Syncfusion:ParagraphAdv.CharacterFormat>\n                        <Syncfusion:SpanAdv Text=\"Create Letters - Mail Merge\"/>\n                    </Syncfusion:ParagraphAdv>\n                    <Syncfusion:ParagraphAdv>\n                        <Syncfusion:ParagraphAdv.ParagraphFormat>\n                            <Syncfusion:ParagraphFormat BeforeSpacing=\"12\" AfterSpacing=\"12\"/>\n                        </Syncfusion:ParagraphAdv.ParagraphFormat>\n                        <Syncfusion:SpanAdv Text=\"Date: \"/>\n                        <Syncfusion:SpanAdv x:Name=\"dateSpan\" Text=\"\"/>\n                    </Syncfusion:ParagraphAdv>\n                    <Syncfusion:ParagraphAdv>\n                        <Syncfusion:SpanAdv Text=\"To,\"/>\n                    </Syncfusion:ParagraphAdv>\n                    <Syncfusion:ParagraphAdv>\n                        <Syncfusion:ParagraphAdv.ParagraphFormat>\n                            <Syncfusion:ParagraphFormat BeforeSpacing=\"10\" AfterSpacing=\"0\" LineSpacing=\"1\" LineSpacingType=\"Multiple\"/>\n                        </Syncfusion:ParagraphAdv.ParagraphFormat>\n                        <Syncfusion:UIContainerAdv Height=\"25\" Width=\"260\">\n                            <TextBox x:Name=\"txtName\" FontSize=\"14\" FontFamily=\"Segoe UI\" FontWeight=\"Bold\"\n                                      Background=\"Transparent\" Padding=\"0\"/>\n                        </Syncfusion:UIContainerAdv>\n                    </Syncfusion:ParagraphAdv>\n                    <Syncfusion:ParagraphAdv>\n                        <Syncfusion:ParagraphAdv.ParagraphFormat>\n                            <Syncfusion:ParagraphFormat BeforeSpacing=\"10\" AfterSpacing=\"0\" LineSpacing=\"1\" LineSpacingType=\"Multiple\"/>\n                        </Syncfusion:ParagraphAdv.ParagraphFormat>\n                        <Syncfusion:UIContainerAdv Height=\"25\" Width=\"260\">\n                            <TextBox x:Name=\"txtCompany\" FontSize=\"14\" FontFamily=\"Segoe UI\"\n                                      Background=\"Transparent\" Padding=\"0\"/>\n                        </Syncfusion:UIContainerAdv>\n                    </Syncfusion:ParagraphAdv>\n                    <Syncfusion:ParagraphAdv>\n                        <Syncfusion:ParagraphAdv.ParagraphFormat>\n                            <Syncfusion:ParagraphFormat BeforeSpacing=\"10\" AfterSpacing=\"0\" LineSpacing=\"1\" LineSpacingType=\"Multiple\"/>\n                        </Syncfusion:ParagraphAdv.ParagraphFormat>\n                        <Syncfusion:UIContainerAdv Height=\"25\" Width=\"260\">\n                            <TextBox x:Name=\"txtAddress\" FontSize=\"14\" FontFamily=\"Segoe UI\"\n                                      Background=\"Transparent\" Padding=\"0\"/>\n                        </Syncfusion:UIContainerAdv>\n                    </Syncfusion:ParagraphAdv>\n                    <Syncfusion:ParagraphAdv>\n                        <Syncfusion:ParagraphAdv.ParagraphFormat>\n                            <Syncfusion:ParagraphFormat BeforeSpacing=\"10\" AfterSpacing=\"0\" LineSpacing=\"1\" LineSpacingType=\"Multiple\"/>\n                        </Syncfusion:ParagraphAdv.ParagraphFormat>\n                        <Syncfusion:UIContainerAdv Height=\"25\" Width=\"260\">\n                            <TextBox x:Name=\"txtCityRegion\" FontSize=\"14\" FontFamily=\"Segoe UI\"\n                                      Background=\"Transparent\" Padding=\"0\"/>\n                        </Syncfusion:UIContainerAdv>\n                    </Syncfusion:ParagraphAdv>\n                    <Syncfusion:ParagraphAdv>\n                        <Syncfusion:ParagraphAdv.ParagraphFormat>\n                            <Syncfusion:ParagraphFormat BeforeSpacing=\"10\" AfterSpacing=\"0\" LineSpacing=\"1\" LineSpacingType=\"Multiple\"/>\n                        </Syncfusion:ParagraphAdv.ParagraphFormat>\n                        <Syncfusion:UIContainerAdv Height=\"25\" Width=\"260\">\n                            <TextBox x:Name=\"txtCountry\" FontSize=\"14\" FontFamily=\"Segoe UI\"\n                                      Background=\"Transparent\" Padding=\"0\"/>\n                        </Syncfusion:UIContainerAdv>\n                    </Syncfusion:ParagraphAdv>\n                    <Syncfusion:ParagraphAdv>\n                        <Syncfusion:ParagraphAdv.ParagraphFormat>\n                            <Syncfusion:ParagraphFormat BeforeSpacing=\"10\" AfterSpacing=\"0\" LineSpacing=\"1\" LineSpacingType=\"Multiple\"/>\n                        </Syncfusion:ParagraphAdv.ParagraphFormat>\n                        <Syncfusion:UIContainerAdv Height=\"25\" Width=\"260\">\n                            <TextBox x:Name=\"txtPhone\" FontSize=\"14\" FontFamily=\"Segoe UI\"\n                                      Background=\"Transparent\" Padding=\"0\"/>\n                        </Syncfusion:UIContainerAdv>\n                    </Syncfusion:ParagraphAdv>\n                    <Syncfusion:ParagraphAdv>\n                        <Syncfusion:ParagraphAdv.ParagraphFormat>\n                            <Syncfusion:ParagraphFormat BeforeSpacing=\"10\" AfterSpacing=\"0\" LineSpacing=\"1\" LineSpacingType=\"Multiple\"/>\n                        </Syncfusion:ParagraphAdv.ParagraphFormat>\n                        <Syncfusion:UIContainerAdv Height=\"25\" Width=\"260\">\n                            <TextBox x:Name=\"txtFax\" FontSize=\"14\" FontFamily=\"Segoe UI\"\n                                      Background=\"Transparent\" Padding=\"0\"/>\n                        </Syncfusion:UIContainerAdv>\n                    </Syncfusion:ParagraphAdv>\n                    <Syncfusion:ParagraphAdv>\n                        <Syncfusion:ParagraphAdv.ParagraphFormat>\n                            <Syncfusion:ParagraphFormat BeforeSpacing=\"10\" AfterSpacing=\"0\" LineSpacing=\"1\" LineSpacingType=\"Multiple\"/>\n                        </Syncfusion:ParagraphAdv.ParagraphFormat>\n                        <Syncfusion:SpanAdv Text=\"Dear \"/>\n                        <Syncfusion:UIContainerAdv Height=\"25\" Width=\"120\">\n                            <TextBox x:Name=\"greetingSpan\" FontSize=\"14\" FontFamily=\"Segoe UI\"\n                                      Background=\"Transparent\" Padding=\"0\"/>\n                        </Syncfusion:UIContainerAdv>\n                        <Syncfusion:SpanAdv Text=\",\"/>\n                    </Syncfusion:ParagraphAdv>\n                    <Syncfusion:ParagraphAdv>\n                        <Syncfusion:ParagraphAdv.ParagraphFormat>\n                            <Syncfusion:ParagraphFormat BeforeSpacing=\"10\" AfterSpacing=\"0\" LineSpacing=\"1\" LineSpacingType=\"Multiple\"/>\n                        </Syncfusion:ParagraphAdv.ParagraphFormat>\n                        <Syncfusion:SpanAdv Text=\"We are pleased to inform you about our latest products and services. This letter demonstrates the mail merge capabilities of SfRichTextBoxAdv combined with the ribbon interface.\"/>\n                    </Syncfusion:ParagraphAdv>\n                    <Syncfusion:ParagraphAdv>\n                        <Syncfusion:ParagraphAdv.ParagraphFormat>\n                            <Syncfusion:ParagraphFormat BeforeSpacing=\"24\"/>\n                        </Syncfusion:ParagraphAdv.ParagraphFormat>\n                        <Syncfusion:SpanAdv Text=\"Sincerely,\"/>\n                    </Syncfusion:ParagraphAdv>\n                    <Syncfusion:ParagraphAdv>\n                        <Syncfusion:SpanAdv Text=\"Syncfusion Inc.\"/>\n                    </Syncfusion:ParagraphAdv>\n                </Syncfusion:SectionAdv>\n            </Syncfusion:DocumentAdv>\n        </Syncfusion:SfRichTextBoxAdv>\n    </Grid>\n</UserControl>"
    }
  ]
}