We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Reseting GridStyleInfo

Hi, What is the best way to reset all properties in a GridStyleInfo object? I have tried ModifyStyle with Remove but it doesn''t work.

1 Reply

AD Administrator Syncfusion Team November 16, 2005 10:50 AM UTC

Each style property has a rest method (so style.Font can be reset using style.ResetFont() for instance). But to reset the whole style object, there is no such method. Have you tried just creating a new GridStyleInfo object to see if this does what you want?

Loader.
Live Chat Icon For mobile
Up arrow icon