SyncRegionContextWithHostBehavior Class

Behavior that synchronizes the Context property of a IRegion with the control that hosts the Region. It does this by setting the RegionContext Dependency Property on the host control. This behavior allows the usage of two way databinding of the RegionContext from XAML.

Namespace:  Microsoft.Practices.Prism.Regions.Behaviors
Assembly:  Microsoft.Practices.Prism (in Microsoft.Practices.Prism.dll)

Syntax

public class SyncRegionContextWithHostBehavior : RegionBehavior, 
    IHostAwareRegionBehavior, IRegionBehavior
'Declaration
Public Class SyncRegionContextWithHostBehavior _
    Inherits RegionBehavior _
    Implements IHostAwareRegionBehavior, IRegionBehavior

Inheritance Hierarchy

System.Object
  Microsoft.Practices.Prism.Regions.RegionBehavior
    Microsoft.Practices.Prism.Regions.Behaviors.SyncRegionContextWithHostBehavior
      Microsoft.Practices.Prism.MefExtensions.Regions.Behaviors.MefSyncRegionContextWithHostBehavior

See Also

SyncRegionContextWithHostBehavior Members

Microsoft.Practices.Prism.Regions.Behaviors Namespace