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
Changing WinGrid font dynamically

I need to change WinGrid Font on the fly. The ideal scenario would be to just assign a new font to the Font property and the grid would refresh itself with the new font. Can't get it working, very strange. Please advise.

  • 3707
    Verified Answer

    You almost had it. Look at the code below and you'll see where to set the font name.

    grid.DisplayLayout.Appearance.FontData.Name = "Arial Black";

Reply Children
No Data