> I think I found It.
>
[quoted text clipped - 17 lines]
> >
> > Schneider
That assumes that I have a host, but I don't currently need one.
Anyway, what I am trying to use the methods on the controlDesigner, and
derrived types.
I need to call CanBeparentedTo, CanParent
anyone know how?
seems you can only inherit thoes classes, and nothing else..
Thanks,
Schneider
> Actually I do not believe that is not correct since that will create a new
> instance of the designer class for a control. What you want to do is use the
[quoted text clipped - 26 lines]
> > >
> > > Schneider
Andrew Smith \(Infragistics\) - 11 Jun 2004 14:41 GMT
Well this is the designtime newsgroup so I assumed you were acting at
designtime and therefore would be able to get to the IDesignerHost. In
anycase, the methods you mention are public methods on the ControlDesigner
and ParentControlDesigner classes so you can call them once you have the
designer instance. Of course going the route you're going, you're going to
have to initialize the designer with its component and also be responsible
for disposing the designer.
> That assumes that I have a host, but I don't currently need one.
>
[quoted text clipped - 42 lines]
> > > >
> > > > Schneider
schneider - 11 Jun 2004 18:09 GMT
thanks
"Andrew Smith (Infragistics)" <productmanager@infragistics.com> wrote in
message news:OsZkWn7TEHA.972@TK2MSFTNGP10.phx.gbl...
> Well this is the designtime newsgroup so I assumed you were acting at
> designtime and therefore would be able to get to the IDesignerHost. In
[quoted text clipped - 55 lines]
> > > > >
> > > > > Schneider