Right to Left ???? |
Post Reply |
Author | |
mozaheb
Senior Member Joined: 03 April 2008 Status: Offline Points: 104 |
Post Options
Thanks(0)
Posted: 16 August 2008 at 5:02am |
hi
how do set right to left listbox with markup mode? if set true in rightoleft properties with markup = true , we have not listbox`s right to left. example: ListBoxMarkup.AddItem "<Border BorderThickness='2' BorderBrush='Orange' Margin='0, 2, 0, 2' Padding='3'><StackPanel Orientation='Horizontal'>" & _ "<Image Source='10'/>" & _ "<Grid><Grid.ColumnDefinitions><ColumnDefinition Width='Auto'/><ColumnDefinition Width='*'/></Grid.ColumnDefinitions>" & _ "<Grid.RowDefinitions><RowDefinition/><RowDefinition/></Grid.RowDefinitions>" & _ "<TextBlock TextAlignment='Right' FontWeight='Bold' Foreground='Navy' Text='Description:'/>" & _ "<TextBlock TextAlignment='Right' Grid.Row='1' FontWeight='Bold' Foreground='Navy' Text='Current Price:'/>" & _ "<TextBlock Margin='6, 0, 0, 0' Grid.Column='1' Text='Snowboard and bindings'/>" & _ "<TextBlock Margin='6, 0, 0, 0' Grid.Column='1' Grid.Row='1' Text='$150'/>" & _ "</Grid></StackPanel></Border>" with listbox: right to left = true and enablemarkup = true. me have not righttoleft listbox. how to salved this problem???? |
|
mozaheb
Senior Member Joined: 03 April 2008 Status: Offline Points: 104 |
Post Options
Thanks(0)
|
which tag use for this question? please answer? |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
There is no RightToLeft tag now. Use HorizontalAlignment="Right" and TextAlignment="Right" attributes.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
mozaheb
Senior Member Joined: 03 April 2008 Status: Offline Points: 104 |
Post Options
Thanks(0)
|
thanks. but it`s not true. it`s false.
i just set it. please tell me a way. |
|
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 |