All the controls missing in WPF. Over 1 million downloads.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1.0 KiB

using System;
using Samples.Infrastructure;
using Microsoft.Practices.Unity;
using Microsoft.Practices.Prism.Regions;
using Samples.Infrastructure.Extensions;
using Samples.Modules.BusyIndicator.NavigationItems;
using Samples.Modules.BusyIndicator.Views;
namespace Samples.Modules.BusyIndicator
{
public class BusyIndicatorModule : ModuleBase
{
public BusyIndicatorModule(IUnityContainer container, IRegionManager regionManager)
: base(container, regionManager)
{
}
protected override void RegisterViewsAndTypes()
{
Container.RegisterNavigationType(typeof(BusyIndicatorView));
Container.RegisterNavigationType(typeof(BusyIndicatorCustomContentView));
Container.RegisterNavigationType(typeof(BusyIndicatorCustomContentTemplateView));
}
protected override void InitializeModule()
{
RegionManager.RegisterViewWithRegion(RegionNames.NavigationRegion, typeof(BusyIndicatorNavItem));
}
}
}