Re: Databinding panel.Height

Alan Baljeu <[email protected]> Fri, 19 Oct 2007 10:03:40 -0400
Newsgroups gmane.comp.windows.devel.dotnet.cx
Message-ID <0e8f01c81258$da8aa340$1dc80ac6@CTI>
> I'm confused now.
> The DataBindings code indicates you want to set Height and
> width of 'this' (MyPanel) to those of 'psm' which I presume
> is the containing form.
> But that would just achieve the same as full docking anyway?

No, psm is a data object, not a form.  The form is just a dummb object to place the control
and is quite irrelevant.

> The other thing is that I think you are correct and Height
> and Width might not support databinding themselves because
> they are components of the Size property which does support
> data binding (ie there is a SizeChanged event)
>
> Cheers
> Simon

If this is true then case closed.

Alan

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com