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.
How to achieve it?
Regards,
Sharda.
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.