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

New Post: Handling selected item in ListBox Region

$
0
0
Hi,

I have a prism wpf application. In the shell I have defined ListBox as LeftPaneRegion.
The views are added to this region using ViewExport Attribute
e.g.
[ViewExport(RegionName =LeftPaneRegion)]
[PartCreationPolicy(CreationPolicy.NonShared)]
[ViewSortHint("01")]
public partial class MyView1: IView, IActiveAware

[ViewExport(RegionName =LeftPaneRegion)]
[PartCreationPolicy(CreationPolicy.NonShared)]
[ViewSortHint("02")]
public partial class MyView1: IView, IActiveAware
When the application loads I want to select one of the view as default.
How to achieve it?

Regards,
Sharda.

Viewing all articles
Browse latest Browse all 1878

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>