The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Im trying to size one of my columns to take up the spare room in the grid. I can calculate the remaining room ok but I cant find out how to determine if the scrollbars are currently showing or get the width of the scrollbar.
If I knew the scrollbar was active then I could subtract its width from the remaining to size my stretchy column without having a horizontal scrollbar.
Would I also be right in saying that to resize the column when the grid is resize I would need to handle an event for the resizing of the grid?
Thanks, Mark
ADAdministrator Syncfusion Team May 27, 2004 01:03 PM UTC
If you use grid.ClientSize, it will automatically reflect whether or not scrollbars are present. So, you do not have to worry about when/if a scrollbar is visible if you use grid.ClientSize.Width and grid.ClientSize.Height in your calculations.
If you want the right column to fill the cleint area are, check out these forum threads.
http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=2699
http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=10560
ADAdministrator Syncfusion Team May 27, 2004 01:22 PM UTC
Thanks for the reply.
I am getting the width of my grid control using
"Grid.Size.Width" I cant seem to find the right way to reference "Grid.ClientSize".
Any ideas?
ADAdministrator Syncfusion Team May 27, 2004 01:28 PM UTC
Hi
Ignore last post was going made. Grid.ClientSize does not appear on the intellisense dropdown but you can still reference it.
Apologies for stupidity.