Hai To All,
I m using ultratreeview (Infragistics windows form 2007 vol 3) in my application . I using my application for both english and arabic. In arabic i want to display the contents of the tree from Right to Left. I gave the RightToLeft property value True. But the contents display in the left side only. Please any one guide me to display the content of ultratreeview in the right side.
Thanks & Regards
Suresh Kumar. R
The control does not currently support that property. It is inherited from the System.Windows.Forms.Control class, but has no implementation. If you like you can submit a feature request for RightToLeft support.
I as well am trying to implement the WinTree in a right to left fashion. When using a standard TreeView to get the tree to display in a right to left fashion you need to mirror the control. The code to do this looks like this:
protected override CreateParams CreateParams { get { CreateParams CP; CP = base.CreateParams; if(_mirrored) CP.ExStyle = CP.ExStyle | WS_EX_LAYOUTRTL | WS_EX_NOINHERITLAYOUT; return CP; } }
This works perfectly with the TreeView, However with the WinTree the text is painted in reverse as if it was flipped.
Is there a way to override this behavior?