Created
June 9, 2016 00:04
-
-
Save jarshwah/18dd6e9cf5b946e9942eb930f1ac3a46 to your computer and use it in GitHub Desktop.
Register a top level tab in workspace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (options.SingleInstance) // hosted within the main window | |
{ | |
container.RegisterType<ICRMViewModel, CRMViewModelSingleInstance>(Singleton); | |
viewManager.ViewsByRegionName["ToolbarWorkplaceRegion"].Add( | |
new ViewActivator { ViewType = typeof(ICRMView), ViewName = "CRMView", ActivateView = true }); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment