Skip to Content
Apr 29, 2004 at 02:34 PM

How to Set a View within a ViewContainerUIElement programatically?


Hi there,

After having found the solution how to put views into a ViewContainerUIElement, now the next question arises:

I have got a ViewContainerUIElement with two possible views in it. I have put both views into the container, but only one appears (great, that's what I want).

But I have to determine at runtime which of the views has to appear. How can I set this?

Thanks in advance