Class MefItemsControlRegionAdapter
Exports the ItemsControlRegionAdapter using the Managed Extensibility Framework (MEF).
Inheritance
System.Object
RegionAdapterBase<System.Windows.Controls.ItemsControl>
MefItemsControlRegionAdapter
Implements
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Sartorius.SAF.Presentation.MefExtensions
Assembly: Sartorius.SAF.Presentation.dll
Syntax
[Export(typeof(ItemsControlRegionAdapter))]
[PartCreationPolicy(CreationPolicy.Shared)]
public class MefItemsControlRegionAdapter : ItemsControlRegionAdapter, IRegionAdapter
Remarks
This allows the MefBootstrapper to provide this class as a default implementation. If another implementation is found, this export will not be used.
Constructors
View SourceMefItemsControlRegionAdapter(IRegionBehaviorFactory)
Initializes a new instance of the MefItemsControlRegionAdapter class.
Declaration
[ImportingConstructor]
public MefItemsControlRegionAdapter(IRegionBehaviorFactory regionBehaviorFactory)
Parameters
Type | Name | Description |
---|---|---|
IRegionBehaviorFactory | regionBehaviorFactory | The factory used to create the region behaviors to attach to the created regions. |