Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

Commented Issue: RichTextBox changing format of text on selection [21847]

$
0
0
Hi,

I have used WPF Toolkit Richtextbox in my application. Its Text property is binded to string. RichTextBox TextFormatter property is set to "RtfFormatter".

I add string "Hello World" and change color of "Hello" to Red and "World" to Green. After doing this change I select the complete string, on selection the complete color of string automatically becomes black. It losses all the formated changes.

Please let me know how to fix this issue.

Regards,

Sharda.
Comments: ** Comment from web user: BoucherS **

Hi Sharda,

Yes, you can add the check and return "False" for the following method :
-UpdateItemCheckedState
-UpdateSelectedFontFamily
-UpdateSelectedFontSize
-UpdateFontColor
-UpdateFontBackgroundColor

v2.7 will be release soon for the Plus users.
v2.5 should be released for Community users at about the same time.
Plus users are always 1 or 2 versions ahead. You can find the info here : http://wpftoolkit.codeplex.com/wikipage?title=Compare%20Editions


Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>