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

Extending the GridRangeInfo object

I would like to extend the GridRangeInfo object and add some of my own methods and properties. I created an object and inherited the GridRangeInfo object, but there are no parameters for the constructor of the GridRangeInfo object. And I cannot simply cast the GridRangeInfo object returned from the Static methods of the GridRangeInfo object to my own custom object. For example, the following blows up. (myObject that inherits GridRangeInfo) GridRangeInfo.Cell(1,1) How should I go about extending the gridRangeInfo object? Thanks, Steve

1 Reply

AD Administrator Syncfusion Team February 25, 2004 03:51 PM UTC

You cannot derive GridRangeInfo. If you want such a class, you would have to copy and paste the code, and your class would not be usable by the grid methods that use GridRangeInfo.

Live Chat Icon For mobile
Up arrow icon