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.

Derived cell controls and delegates

Thread ID:

Created:

Updated:

Platform:

Replies:

609 Jul 16,2002 10:56 AM Jul 16,2002 11:33 AM Windows Forms 2
loading
Tags: GridControl
Roy Muller
Asked On July 16, 2002 10:56 AM

I've derived a custom cell control based on the LinkedLabel cell control (model/renderer classes). So far it works well for displaying the cell contents. Now I'd like to add my own delegates to the MouseUp event handler of the custom control. How do I get the instance of the custom renderer class from the GridControl?

Clay Burch [Syncfusion]
Replied On July 16, 2002 11:17 AM

After the cellmodel has been created, you can try code such as
LinkLabelCellRenderer llr = (LinkLabelCellRenderer) this.gridControl1.CellRenderers["LinkLabelCell"];

to get at the renderer.

Roy Muller
Replied On July 16, 2002 11:33 AM

:-) Thanks for the quick, accurate and concise reply.

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.

;