I have a ListView set to details mode, which contains file paths. Is it possible to truncate the cells from the left hand side instead of the right?
For example:
If a cell contains a string (C:\Windows\Some directory\file.txt), then if the column is too small, the cell just reads C:\Windows\So...
I need it to truncate from the other side, so it reads ...ctory\file.txt. Is this possible?
Loading
BillPosted Mar 24, 2008, 8:27 AM
Bechir BejaouiPosted Mar 24, 2008, 7:45 AM
string x = @"C:\Windows\So" + Environment.NewLine + @"ctory\file.txt";
MessageBox.Show(x);