Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
|
Because of the way that a grid paints. Each time the grid paints the cell, it has to access the value through the property descriptor for the column, and the column is accessed by each row within the grid. My only guess is that the grid is accessing the property several times for each row to test on formatting and spacing before actually drawing the value for the column. That's why we use the property descriptors rather than allowing .NET to create ReflectDescriptor objects for each property visible in the grid... if we didn't have the property descriptors, then .NET would be reflecting 100 times for each column, each time the grid paints.
|