Quantcast
Channel: patterns & practices: Prism
Viewing all articles
Browse latest Browse all 1878

New Post: Blendability when using Regions

$
0
0
A UserControl may have a d:DataContext="{d:DesignInstance... combinations which of course works great when designing the UserControl.
However, when another View is composed by RequestNavigate(string regionName, string source) (where source refer to the UserControl) the designtime DataContext on the UserControl is lost.
It works perfectly in runtime.
Someone knows how to make this working in designtime ?
Prism version is 4.1.
.NET framework version is 4.0.

Something better coming in Prism 4.2 ?

B.t.w. I am using MEF as container.

Viewing all articles
Browse latest Browse all 1878

Trending Articles