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.
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
ADAdministrator 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.