Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1350
Grid Font
posted

Hi all,

I have a grid that already contains data and headers and is styled via an isl file. I now want to change the font and font size of the whole grid (Everything incl. Cells, Headers etc.) at once.

I've already set ResolutionOrder to ControlThenApplication for the grid and then tried to set:

            grid.Font = new Font(name, size, FontStyle.Regular);
            
            grid.DisplayLayout.Appearance.FontData.Name = name;
            grid.DisplayLayout.Appearance.FontData.SizeInPoints = size;

with no luck. Nothing changed!

Any ideas? Thanks for your help!

Regards,

Michael

Parents
  • 12480
    Offline posted

    Hi Michael,

    Depending on the settings on the ISL, this may or may not be expected. For example: if a style is applied specifically to rows or cells, this would take precedence over a grid-level setting. This scope-based precedence applies regardless of the resolution order.

    Please send over your ISL file and I can check it out to determine whether there's anything in it that would override the grid's programmatic appearance. If you would prefer not to share your files on the public forum, please let me know and I will open a private case.

Reply Children