Skip to content

Set row height in Wingrid

New Discussion
David Petty
David Petty asked on Jan 26, 2017 8:38 PM

How can set the row height in a Wingrid ?  There was a property for this is the VB6 version.

My app is used by a lot of older people, so I use larger fonts and space out the rows in grids

Sign In to post a reply

Replies

  • 0
    Mike Bowshewicz
    Mike Bowshewicz answered on Jan 19, 2017 9:20 PM

    Hello,

    You can set this by using the DefaultRowHeight property on the grid's override. This code will increase the row's height and also set the font to a larger size:

    ultraGrid1.DisplayLayout.Override.DefaultRowHeight = 30;
    ultraGrid1.DisplayLayout.Override.RowAppearance.FontData.SizeInPoints = 14;

    Please let me know if you have any further questions.

    • 0
      David Petty
      David Petty answered on Jan 19, 2017 10:43 PM

      Many thanks – that is the property I was looking for.  Also interesting about the font size.

    • 0
      David Petty
      David Petty answered on Jan 24, 2017 4:24 PM

      That is he answer.  Thanks

      (Why do I keep getting the question : Mark as not Answer ?

      • 0
        John VanZwieten
        John VanZwieten answered on Jan 26, 2017 8:38 PM

        Hello,

        If you believe that that was not the proper answer to your question, you can go back and unmark that answer. This is in case that reply was marked as the answer by mistake.

        Please let me know if I can further assist you.

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
David Petty
Favorites
0
Replies
4
Created On
Jan 26, 2017
Last Post
9 years, 1 month ago

Suggested Discussions

Created by

Created on

Jan 26, 2017 8:38 PM

Last activity on

Jan 26, 2017 8:38 PM