Posted 1 May 2025, 8:27 pm EST
Using a C1TrueDBGrid (latest version 8.x) in .NET 9 the following bugs pop up:
- when the Grid / Split / DisplayColumn Trimming property is set to ‘Character’ and the Wrap property to ‘NoWrap’; the column contents are NOT clipped properly when the VerticalAlignment property is set top ‘Center’ (it then uses word-level trimming).
- also in this situation the column does use wrapping although it has been set not to.
- when the VerticalAlignment property is set to ‘Top’ the trimming does work, but this is fairly ugly in case the RowHeight is more than just the bare minimum.
So the question becomes how to obtain full trimming (character), no wrapping while still being able to use VerticalAlignment ‘Center’ ?
The enclosed VS 2022 solution highlights the issue