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.
Hi,
I''ve got a custom CellModel.
It''s a set of icons. It may contain from one up to 10 icons.
What things I have to do for ResizeToFit method works correctly for this CellModel?
ADAdministrator Syncfusion Team July 2, 2004 01:04 PM UTC
In your cell model class, you need to override CalculatePreferredCellSize, and in your override return the proper size for your cell based on the information passed in. This is the method that grid.Model.ColWidths.ResizeToFit and grid.Model.RowHeights.ResizeToFit calls to get the values it uses to determine the sizes.