Custom Control via wrapper

  • Thread starter Thread starter Ron
  • Start date Start date
R

Ron

Hi,

I have a Janus GridEX third party control. I need to add some custom
properties of my own to it. I tried building a User Control and dragged a
GridEX onto the designer surface, but the GridEx has many custom properties
and designers and obviously my control only show the base control
properties. What is the best way for me to add properties to a Thrid Party
control and still have access to their designer?

Thanks!
Ron
 
Ron said:
Hi,

I have a Janus GridEX third party control. I need to add some custom
properties of my own to it. I tried building a User Control and dragged a
GridEX onto the designer surface, but the GridEx has many custom
properties and designers and obviously my control only show the base
control properties. What is the best way for me to add properties to a
Thrid Party control and still have access to their designer?


Look into System.Component.IExtenderProvider

HTH
 
In many cases, simply inherit from it...

public class SomeFunkyNewControl : SomeBoringOldControl
{
public string YeeHah {get;set;}
}

Marc
 
Back
Top