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

Extending the GridRangeInfo object

Thread ID:

Created:

Updated:

Platform:

Replies:

11171 Feb 25,2004 09:33 AM Feb 25,2004 10:51 AM Windows Forms 1
loading
Tags: GridControl
Steve
Asked On February 25, 2004 09:33 AM

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 10:51 AM

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.

CONFIRMATION

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.

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.

;