Method | Description | |
---|---|---|
Attach ( ) : void |
Start monitoring the RegionManager and the TargetElement to detect when the TargetElement becomes part of the Visual Tree. When that happens, the Region will be created and the behavior will Detach.
|
|
DelayedRegionCreationBehavior ( RegionAdapterMappings regionAdapterMappings ) : Microsoft.Practices.Prism.Properties |
Initializes a new instance of the DelayedRegionCreationBehavior class.
|
|
Detach ( ) : void |
Stop monitoring the RegionManager and the TargetElement, so that this behavior can be garbage collected.
|
Method | Description | |
---|---|---|
CreateRegion ( DependencyObject targetElement, string regionName ) : IRegion |
Method that will create the region, by calling the right IRegionAdapter.
|
Method | Description | |
---|---|---|
ElementLoaded ( object sender, RoutedEventArgs e ) : void | ||
OnUpdatingRegions ( object sender, |
||
TryCreateRegion ( ) : void | ||
UnWireTargetElement ( ) : void | ||
WireUpTargetElement ( ) : void |
protected CreateRegion ( DependencyObject targetElement, string regionName ) : IRegion | ||
targetElement | DependencyObject | The target element that will host the |
regionName | string | Name of the region. |
return | IRegion |
public DelayedRegionCreationBehavior ( RegionAdapterMappings regionAdapterMappings ) : Microsoft.Practices.Prism.Properties | ||
regionAdapterMappings | RegionAdapterMappings |
/// The region adapter mappings, that are used to find the correct adapter for
/// a given controltype. The controltype is determined by the |
return | Microsoft.Practices.Prism.Properties |