Syncfusion.Windows.Forms.Grid Namespace > GridControlBase Class : SupportsPrepareViewStyleInfo Field

SupportsPrepareViewStyleInfo Field

By default, the grid will make a copy of any style object before painting and call the PrepareViewStyleInfo event. Changes made to the style object will then be discarded after the painting. Same with DrawCell and other events. Having a copy of the style allows you to change the style object just for drawing purposes. If you do not have any need for this and want to increase scrolling performance of the grid, try setting this property false. But be aware this is only experimental for now ...
Public SupportsPrepareViewStyleInfo As Boolean
Dim instance As GridControlBase
Dim value As Boolean
value = instance.SupportsPrepareViewStyleInfo
instance.SupportsPrepareViewStyleInfo = value
public bool SupportsPrepareViewStyleInfo

Syncfusion.Grid.Windows: 17.3460.0.14

See Also