Home Forums WinForms controls Xceed Grid for WinForms GenerateReportForm() Reply To: GenerateReportForm()

User (Old forums)
Member
Post count: 23064

Gotcha.

I’ve overridden the PaintForeground() method of our extended TextRow.
This row takes two values as parameters, a label and a value.
The goal was to align the label left and the value right.
After a couple of attempts (such as building a concatenated string ‘label + some number of spaces + value’ so as to fill a specific width), we settled to using custom painting + StringFormatFlags, which is working as needed.

Is there a way to mimic this custom painting behavior when reporting?

Imported from legacy forums. Posted by csperler (had 523 views)