UnityBootstrapper.CreateShell Method

Creates the shell or main window of the application.

Namespace:  Microsoft.Practices.Composite.UnityExtensions
Assembly:  Microsoft.Practices.Composite.UnityExtensions (in Microsoft.Practices.Composite.UnityExtensions.dll)

Syntax

'Declaration
Protected MustOverride Function CreateShell As DependencyObject
protected abstract DependencyObject CreateShell()
protected:
virtual DependencyObject^ CreateShell() abstract
function createShell();

Return Value

The shell of the application.

Remarks

If the returned instance is a DependencyObject, the UnityBootstrapper will attach the default of the application in its RegionManagerProperty attached property in order to be able to add regions by using the attached property from XAML.

See Also

UnityBootstrapper Class

Microsoft.Practices.Composite.UnityExtensions Namespace

Microsoft.Practices.Composite.Regions.IRegionManager

RegionManager.RegionNameProperty