RTL(RightToLeft) support for Markup tooltip style |
Post Reply |
Author | |
Xiaoling
Newbie Joined: 23 August 2010 Location: United States Status: Offline Points: 1 |
Post Options
Thanks(0)
Posted: 23 August 2010 at 4:52pm |
Hi,
I am trying to support RightToLeft for Markup tooltip style on commandbars and put FlowDirection='RightToLeft' on the markup string, but Codejock doesn't seem to know how to handle this. Does anyone know how to support RTL for this?
I added FlowDirection='RightToLeft' into the markup string from TooltipContext sample, but this doesn't work.
Any help is appreciated.
strHTML.Format( _T("<StackPanel FlowDirection='RightToLeft' Margin='1' MaxWidth='200' >") _T("<TextBlock Padding='1, 3, 1, 3' FontWeight='Bold'>%s</TextBlock>") _T("<TextBlock Padding='9, 6, 30, 7' TextWrapping='Wrap'>%s</TextBlock>") _T("<Border Height='1' Background='#9ebbdd' />") _T("<Border Height='1' Background='White' />") _T("<StackPanel Margin='1, 7, 0, 3' Orientation='Horizontal'>") _T("<Image Source='res://Help.ico'/><TextBlock Margin='7, 0, 0, 0' VerticalAlignment='Center' FontWeight='Bold'>Press F1 for more help.</TextBlock>") _T("</StackPanel>") _T("</StackPanel>"), strCaption, strDesc, (LPCTSTR)lpszModule); |
|
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 |