Show / Hide Table of Contents

Class ItemsControlRegionAdapter

Adapter that creates a new Sartorius.SAF.Presentation.Regions.AllActiveRegion and binds all the views to the adapted System.Windows.Controls.ItemsControl.

Inheritance
System.Object
RegionAdapterBase<System.Windows.Controls.ItemsControl>
ItemsControlRegionAdapter
MefItemsControlRegionAdapter
Implements
IRegionAdapter
RegionAdapterBase<ItemsControl>.Initialize(ItemsControl, String)
RegionAdapterBase<ItemsControl>.RegionBehaviorFactory
RegionAdapterBase<ItemsControl>.AttachBehaviors(IRegion, ItemsControl)
RegionAdapterBase<ItemsControl>.AttachDefaultBehaviors(IRegion, ItemsControl)
RegionAdapterBase<ItemsControl>.IRegionAdapter.Initialize(Object, String)
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.Regions
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public class ItemsControlRegionAdapter : RegionAdapterBase<ItemsControl>, IRegionAdapter

Constructors

View Source

ItemsControlRegionAdapter(IRegionBehaviorFactory)

Initializes a new instance of ItemsControlRegionAdapter.

Declaration
public ItemsControlRegionAdapter(IRegionBehaviorFactory regionBehaviorFactory)
Parameters
Type Name Description
IRegionBehaviorFactory regionBehaviorFactory

The factory used to create the region behaviors to attach to the created regions.

Methods

View Source

Adapt(IRegion, ItemsControl)

Adapts an System.Windows.Controls.ItemsControl to an IRegion.

Declaration
protected override void Adapt(IRegion region, ItemsControl regionTarget)
Parameters
Type Name Description
IRegion region

The new region being used.

System.Windows.Controls.ItemsControl regionTarget

The object to adapt.

Overrides
Sartorius.SAF.Presentation.Regions.RegionAdapterBase<System.Windows.Controls.ItemsControl>.Adapt(Sartorius.SAF.Presentation.Regions.IRegion, System.Windows.Controls.ItemsControl)
View Source

CreateRegion()

Creates a new instance of Sartorius.SAF.Presentation.Regions.AllActiveRegion.

Declaration
protected override IRegion CreateRegion()
Returns
Type Description
IRegion

A new instance of Sartorius.SAF.Presentation.Regions.AllActiveRegion.

Overrides
Sartorius.SAF.Presentation.Regions.RegionAdapterBase<System.Windows.Controls.ItemsControl>.CreateRegion()

Implements

IRegionAdapter

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX