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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Extending the GridRangeInfo object

Thread ID:





11171 Feb 25,2004 02:33 PM UTC Feb 25,2004 03:51 PM UTC WinForms 1
Tags: GridControl
Asked On February 25, 2004 02:33 PM UTC

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

Administrator [Syncfusion]
Replied On 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.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon