I cant get that to work. Do you mean
uiControl.DataBindings.Add("Property", _object1, "ObjectProperty");
uiControl.DataBindings.Add("Property", _object2, "ObjectProperty");
should work? Because I get an Error: " This would cause two bindings in the
collection to bind to the same property.". Which leads me to think that I
cant do what I want with databinding.
Also, this is not exactly what I wanted. I want the uiControl to reflect
that the user has selected multiple items in the same list. If I just bind
the uiControl to the uiList.Datasource, I will only get the uiControl to
reflect one (the first) of the selected items, not all of them.
Jesper.
> You can bind several objects to the same UI Controls by
> uiControl.DataBinding.Add("Property", _object, "ObjectProperty") a.s uming
[quoted text clipped - 3 lines]
> Regards,
> Knut
Knut Vonheim - 10 Oct 2004 11:09 GMT
Jesper,
sorry I misled you on my first response to your posting - don't know why,
but I misread it.
Don't know if the following is the leading you in the right direction
either, but in .Net you have
System.Windows.Forms.PropertyGrid and
System.ComponentModel.Design.CollectionEditor.CollectionForm
Perhaps those namespaces, at least, will help you in the right direction?
Regards,
Knut
> I cant get that to work. Do you mean
>
[quoted text clipped - 19 lines]
> > Regards,
> > Knut
Knut Vonheim - 10 Oct 2004 11:11 GMT
Jesper,
sorry I misled you on my first response to your posting - don't know why,
but I misread it.
Don't know if the following is the leading you in the right direction
either, but in .Net you have
System.Windows.Forms.PropertyGrid and
System.ComponentModel.Design.CollectionEditor.CollectionForm
Perhaps those namespaces, at least, will help you in the right direction?
Regards,
Knut
> I cant get that to work. Do you mean
>
[quoted text clipped - 19 lines]
> > Regards,
> > Knut