![]() |
Markup Text - How to excape characters |
Post Reply
|
| Author | |
pbergeot
Newbie
Joined: 23 September 2008 Location: United States Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Topic: Markup Text - How to excape charactersPosted: 16 November 2008 at 9:41pm |
|
I need to create a markup text which has the following 3 requirements.
1> I can include the character '<' in the text portion (so I need to escape it somehow but I couldn't find out how). 2> The text portion must wrap on resize. 3> The text portion must have some bolded and non-bolded parts. For example, I need to create the following string as markup: If the Chicken is < than the Road it must cross the Road (in wrapable mode) It seems that I can align 2 out of these 3 conditions but not the 3 together. Can someone help? Thank you. |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 November 2008 at 8:44am |
|
Hi,
You can replace < to > in text.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
mgampi
Senior Member
Joined: 14 July 2003 Status: Offline Points: 1210 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 November 2008 at 8:23am |
Shouldn't it be < for <? ![]() |
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 November 2008 at 5:26am |
|
Maybe :)
2pbergeot : or even better use Text property:
<TextBlock> <Run Text = "text>text"/> <Run Text = "text>text"/> </TextBlock>
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |