This project is read-only.
1
Vote

Finding WizardPages at run-time using attributes

description

You could support using reflection to find WizardPages marked with a [RuntimeWizardPage] attribute or something. It would give poeople more flexibility, and they could convert UserControls over to WizardPages.

I think it would be an interesting idea.

comments

rlipscombe wrote Aug 29, 2011 at 12:46 PM

Could be done fairly easily by using MEF. Mark up the Pages collection as [Import] or whatever. I've got concerns about what to do if you have more than one wizard in a single program.

I won't be doing it, but feel free to send me a pull request.