How to make the cell height automatically increase depending on the size of the content inside it?

In the manual there is such a thing as AutoSize, but for some reason I don’t have it. Is there any way to do this without AutoSize? My fast-port works with C #, is it possible to program it in code in some way?

I tried something like this:

namespace FastReport { public class ReportScript { private void Table2_BeforePrint(object sender, EventArgs e) { if (Cell45.Text.Length > 24) { Cell45.Height *= 2; } } } }; 

Nothing happens, although when I change the font color instead of the height, it works.

It would be nice to at least understand how this is done in principle.

  • type of project wpf or winforms? - Sergey
  • @ Sergey wpf project - JDoeBloke
  • show your code - Gardes
  • @Gardes The code itself is not. I simply from a data and all. The code is empty for now, since it was not needed for my report. - JDoeBloke
  • one
    Need a piece of xaml markup - Gardes

0