Print Page | Close Window

Right to Left ????

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=11846
Printed Date: 16 November 2024 at 8:26am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Right to Left ????
Posted By: mozaheb
Subject: Right to Left ????
Date 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????





Replies:
Posted By: mozaheb
Date Posted: 18 August 2008 at 12:58am

which tag use for this question?
please answer?


Posted By: Oleg
Date Posted: 18 August 2008 at 1:37am
Hello,
 
There is no RightToLeft tag now. Use HorizontalAlignment="Right" and TextAlignment="Right" attributes.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: mozaheb
Date Posted: 19 August 2008 at 2:05am
thanks. but it`s not true. it`s false.
i just set it. please tell me a way.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net