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

Derived cell controls and delegates

Thread ID:





609 Jul 16,2002 02:56 PM UTC Jul 16,2002 03:33 PM UTC WinForms 2
Tags: GridControl
Roy Muller
Asked On July 16, 2002 02:56 PM UTC

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 03:17 PM UTC

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 03:33 PM UTC

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


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