RichTextBox: Format support for MergeFields - Uppercase, Lowercase, First Capital, Title case, etc.
In MergeFields the general switch may be used to format the Result Text. The text may appear in lowercase, uppercase, title case and so on.
Posted on:14 Nov 2022 07:59
I do not believe that this feature will solve your requirement. What I believe can be used in this case is a custom merge field. This is similar to the example in the forum. A complete example is available in our SDK repository: xaml-sdk/RichTextBox/CreateCustomMergeField at master · telerik/xaml-sdk. This will allow you to override the GetDisplayNameFragment method and return the desired result. You can use custom properties as well. The issue with this approach is that the custom fields can be saved to the XAML format only. They will be lost with other formats.
Let me know how this works for your case.
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Posted on:09 Nov 2022 10:42
I'd also like to request an implementation of the feature, to be able to differentiate between the Displayed Name of the MergeField and the property Path, for localization reasons.