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.
Is there a way to set a user-defined data (an object type would be best) per cell?
For example, when using GridVirtualizingCellRenderer classes for custom cell styles/types, the OnRender() method passes a GridRenderStyleInfo for that particular cell. However, in many instances, you would like to add some additional arguments to be passed (ie: a custom structure/class) or to be accessible to customize further that particular cell.
I can work around this by maintaining that information separate from the grid and looking it up, but it would be nice not to have to construct an outside class/holder for such custom information, hence a user-defined object property could be added to the relevant classes of the grid that are passed as parameters to a lot of functions.
ADAdministrator Syncfusion Team July 29, 2008 05:45 PM UTC
Currently, there is no such property.
Our Windows Forms GridStyleInfo object has a Tag property that can be used for cell specific data. We will be adding something similar for the WPF Grid.
So, for the time being, you would have to maintain your own cache.
FMFerenc MolnarJuly 29, 2008 06:42 PM UTC
>We will be adding something similar for the WPF Grid.