Prevent Color Names in XAML

2 posts, 0 answers
  1. jayce
    jayce avatar
    2 posts
    Member since:
    May 2010

    Posted 02 Jun 2014 Link to this post

    Hi,

    I am exporting the XAML RadDocument from the RichTextBox to use for my own Gdi+ rendering. To do this I need the text color as (A)RGB values, but especially when I am pasting webcontent into the RichTextBox I sometimes get color names (such as "red", "lime" and so on) as text color. Is there any way to make sure colors in the XAML are always ARGB values without having to convert them myself?

    Thanks a lot for your help.

    Regards
    Jan
  2. Dimitar
    Admin
    Dimitar avatar
    1415 posts

    Posted 05 Jun 2014 Link to this post

    Hello Jan,

    Thank you for writing.

    Currently there is no any import or export settings for XAML. And in this case you should convert the colors before the export.

    Do not hesitate to contact us if you have other questions.

    Regards,
    Dimitar
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top