Profile Sets and profiles are not bound to a particular model. As a result, to override the default profile selection the developer must specify the class to perform this functionality in the profile set.
The specified class must implement the ProfileSelection interface. The class name for this class must be specified within the selection handler definition file. A ProfileSelection interface has two methods that will be called at generation time:
The init() method
This is used to do any initialization before the selectProfile(..) method is called.The selectProfile() method
Parent topic: Profile selection and storage management: wpf7