projects/wms-framework/src/lib/regionsframework/IRegionBehavior.ts
IRegionBehavior interface.
Properties |
Methods |
Attach |
Attach()
|
Attaches the behavior to the specified region.
Returns :
void
|
Region |
Region:
|
Type : IRegion
|
The region that this behavior is extending. |
import { DependencyObject } from '../basecomponentmodel/DependencyObject';
import { IRegion } from './IRegion';
/**
* IRegionBehavior interface.
*
* @export
* @interface IRegionBehavior
* @wInterface Microsoft.Practices.Prism.Regions.IRegionBehavior
*/
export interface IRegionBehavior {
/**
* The region that this behavior is extending.
*/
Region: IRegion;
/**
* Attaches the behavior to the specified region.
*/
Attach(): void;
}
/**
* IHostAwareRegionBehavior interface.
*
* @export
* @interface IHostAwareRegionBehavior
* @extends {IRegionBehavior}
* @wInterface Microsoft.Practices.Prism.Regions.Behaviors.IHostAwareRegionBehavior
*/
export interface IHostAwareRegionBehavior extends IRegionBehavior {
HostControl: DependencyObject;
}