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
close icon

Derived cell controls and delegates

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?

2 Replies

CB Clay Burch Syncfusion Team 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.


RM Roy Muller July 16, 2002 03:33 PM UTC

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

Loader.
Live Chat Icon For mobile
Up arrow icon