projects/wms-framework/src/lib/regionsframework/IRegionManager.ts
Interface for region manager
Properties |
Methods |
AddToRegion | |||||||||
AddToRegion(regionName: string, obj: unknown)
|
|||||||||
Adds to region
Parameters :
Returns :
void
|
CreateRegionManager | ||||||
CreateRegionManager(container?: DependencyContainer)
|
||||||
Creates a new region manager.
Parameters :
Returns :
IRegionManager
|
RegisterRegionTarget |
RegisterRegionTarget(regionName: string, view: UIElement)
|
Register region target.
Returns :
any
|
RegisterViewWithRegion | |||||||||
RegisterViewWithRegion(regionName: string, viewCreationFunc: | RuntimeTypeInfo)
|
|||||||||
Register view with region
Parameters :
Returns :
void
|
Regions |
Regions:
|
Type : IRegionCollection
|
import { DependencyContainer } from 'tsyringe';
import { UIElement } from '../basecomponentmodel/UIElement';
import { RuntimeTypeInfo } from '../baseframework/ReflectionSupport';
import type { IRegionCollection } from './IRegionCollection';
/**
* Interface for region manager
*
* @export
* @interface IRegionManager
* @wInterface Microsoft.Practices.Prism.Regions.IRegionManager
*/
export interface IRegionManager {
Regions: IRegionCollection;
/**
* Creates a new region manager.
*/
CreateRegionManager(container?: DependencyContainer): IRegionManager;
/**
* Register region target.
*
* @param {string} regionName
* @param {UIElement} view
* @returns {*}
* @memberof IRegionManager
* @wIgnore
*/
RegisterRegionTarget(regionName: string, view: UIElement): any;
/**
* Register view with region
*
* @param {string} regionName
* @param {(((() => unknown) | RuntimeTypeInfo))} viewCreationFunc
* @memberof IRegionManager
* @wIgnore
*/
RegisterViewWithRegion(
regionName: string,
viewCreationFunc: (() => unknown) | RuntimeTypeInfo
): void;
/**
* Adds to region
*
* @param {string} regionName
* @param {unknown} obj
* @memberof IRegionManager
* @wIgnore
*/
AddToRegion(regionName: string, obj: unknown): void;
}