Hi,
In GridView's CustomDrawCell event handler, I am trying to use DevExpress.XtraGrid.Views.Base.RowCellCustomDrawEventArgs e's e.Appearance.DrawString method to draw string in a rectangle. However, this method seems to igore the StringFormat argument that I provide. I have set StringFormat's Trimming to StringTrimming.EllipsisPath but I don't see the ellipsis. I have also tried other stringtrimming options but to no avail.
In addition, I tried setting e.Appearance.TextOptions.Trimming = DevExpress.Utils.Trimming.EllipsisPath; and
e.Appearance.Options.UseTextOptions = true; But no effect :(
Please tell, whether I am missing something or some workaround has to be figured out?
Many thanks
Okash