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.
I would like to simplify the usage the Syncfusion cell model to be similar to that used by DataGridView.
I have a derived cell type called CustomCell that works fine. I based it on one of the supplied examples. Per the Syncfusion approach is it consists of:
CustomCellRenderer which of course is the renderer CustomCellStyleProperties is contains the cell model
To use my CustomCell I have to acess it thusly:
Dim ThisCell as CustomCellStyleProperties = New CustomCellStyleProperties(mygrid(row,Col)
ThisCell.CustomCellProperties.CustomProperty = Value
DataGridView conversely uses type conversion so to access a CustomCell type I do:
Dim ThisCell as CustomCell = CType(mygrid(Row,Col), CustomCell) ThisCell.CustomProperty = Value
I want the Syncfusion grid to drop in and avoid changing a lot of existing code. How would I create a CustomCell class that would work the way I want to? I don''t think it would be that difficult but I am relatively new to OOP.