Show / Hide Table of Contents

Class ContentControlRegionAdapter

Adapter that creates a new Sartorius.SAF.Presentation.Regions.SingleActiveRegion and monitors its active view to set it on the adapted ContentControl.

Inheritance
object
RegionAdapterBase<ContentControl>
ContentControlRegionAdapter
MefContentControlRegionAdapter
Implements
IRegionAdapter
RegionAdapterBase<ContentControl>.Initialize(ContentControl, string)
RegionAdapterBase<ContentControl>.RegionBehaviorFactory
RegionAdapterBase<ContentControl>.AttachBehaviors(IRegion, ContentControl)
RegionAdapterBase<ContentControl>.AttachDefaultBehaviors(IRegion, ContentControl)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Sartorius.SAF.Presentation.Regions
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public class ContentControlRegionAdapter : RegionAdapterBase<ContentControl>, IRegionAdapter

Constructors

View Source

ContentControlRegionAdapter(IRegionBehaviorFactory)

Initializes a new instance of ContentControlRegionAdapter.

Declaration
public ContentControlRegionAdapter(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, ContentControl)

Adapts a ContentControl to an IRegion.

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

The new region being used.

ContentControl regionTarget

The object to adapt.

Overrides
RegionAdapterBase<ContentControl>.Adapt(IRegion, ContentControl)
View Source

CreateRegion()

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

Declaration
protected override IRegion CreateRegion()
Returns
Type Description
IRegion

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

Overrides
RegionAdapterBase<ContentControl>.CreateRegion()

Implements

IRegionAdapter

Extension Methods

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