Hi,
my wingrid is displayed in a panel and the dockstyle is set to fill and scrollbars appear. How can I determine the actual size of the wingrid?
Is this possible at all?
regards
Stefan
Hi Stefan,
You can determine the size of any control using it's Size property. Size is a property on Control, it's not specific to the grid.
but I want to know the "real" size because at design time I don not now how many rows are in the grid or what font is being used. I want to resize the parent container of the grid so that I do not get scrollbars.