Skip to content

Instantly share code, notes, and snippets.

@kimsk
Created May 7, 2013 03:59
Show Gist options
  • Save kimsk/5530168 to your computer and use it in GitHub Desktop.
Save kimsk/5530168 to your computer and use it in GitHub Desktop.
protected override void Configure()
{
_container = new WinRTContainer();
_container.PerRequest<MainViewModel>()
.PerRequest<AboutViewModel>();
var viewSettings = new Dictionary<string, object>();
viewSettings.Add("headerbackground", new SolidColorBrush(Colors.Red));
var settings = _container.RegisterSettingsService();
settings.RegisterCommand<AboutViewModel>("Custom", viewSettings);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment