Prism for Silverlight: How to maintain views in a specific order inside a region

后端 未结 6 945
心在旅途
心在旅途 2020-12-18 12:19

I am creating sort of a \"Navigation panel\" (which is actually an ItemControl) for SL and using Regions to allow each module to add his link to the panel.

Problem i

6条回答
  •  一生所求
    2020-12-18 12:50

    This is not built into Prism regions, however it's easily implementable.

    Damian Schenkelman has posted an extension method he created for adding a region to an index that seems to work pretty well. http://blogs.southworks.net/dschenkelman/2009/03/14/how-to-add-a-view-to-a-region-in-a-particular-index-with-prism-v2/

    Hope this helps.

提交回复
热议问题