Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
185
Default font name and size
posted

Hello,

I am using the XamRichTextEditor control and I'm trying to figure out how I can change the default values for the font name and size.

I am NOT interested when loading content into the editor. I am interested when the end user starts typing in the editor when the editor is completely empty/blank.

The initial font size is 11 and the font name is null but it's themed "Minor".

I've already tried changing the DefaultCHaracterSettings property on the RootNode object, but that doesn't actually work. I've also tried changing the character settings on the first ParagraphNode created by the editor by default, but that only temporarily fixes it. I am assuming that those font name/size initial values come from somewhere in the editor object and I want to know where so I can overwrite them.

Any ideas?