Interface IRegionManagerAccessor
Provides an abstraction on top of the RegionManager static members.
Namespace: Sartorius.SAF.Presentation.Regions
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public interface IRegionManagerAccessor
Methods
View SourceGetRegionManager(DependencyObject)
Gets the value of the RegionName attached property.
Declaration
IRegionManager GetRegionManager(DependencyObject element)
Parameters
| Type | Name | Description |
|---|---|---|
| DependencyObject | element | The target element. |
Returns
| Type | Description |
|---|---|
| IRegionManager | The IRegionManager attached to the |
GetRegionName(DependencyObject)
Gets the value for the RegionName attached property.
Declaration
string GetRegionName(DependencyObject element)
Parameters
| Type | Name | Description |
|---|---|---|
| DependencyObject | element | The object to adapt. This is typically a container (i.e a control). |
Returns
| Type | Description |
|---|---|
| string | The name of the region that should be created when the RegionManager is also set in this element. |
Events
View SourceUpdatingRegions
Notification used by attached behaviors to update the region managers appropriately if needed to.
Declaration
event EventHandler UpdatingRegions
Event Type
| Type | Description |
|---|---|
| EventHandler |
Remarks
This event uses weak references to the event handler to prevent this static event of keeping the target element longer than expected. For security reasons, to use weak delegates in Silverlight you must provide a delegate that is available in the public API of the class (no private or anonymous delegates allowed).