prism - How to create a view for a single control? -
what best way create view single control need load shell region in prism app. know can wrap control in usercontrol, suspect there may better way.
i working on demo app learn prism 4. each module load navigation button itemscontrol in region in shell. these navigation buttons function mail, calendar, , other buttons in outlook.
i creating view in each module hold module's navigation button. simplest way create view seems to wrap in usercontrol. question this: there better way it? help.
if need graphical control, doing way go. if find making of buttons same (copy - pasting) might find menu registration service way go.
you'd have service imenuservice register container , modules can come around , register menu items to. can create buttons module. i've provided sample here: http://dl.getdropbox.com/u/376992/cagmenus.zip
your question, though, seems whether or not need wrap control in usercontrol register them region? if that's question, believe answer no, although might amend question tell running against makes think this.
Comments
Post a Comment