Show / Hide Table of Contents

Class RegionActiveAwareBehavior

Behavior that monitors a IRegion object and changes the value for the IsActive property when an object that implements IActiveAware gets added or removed from the collection.

Inheritance
System.Object
RegionActiveAwareBehavior
MefRegionActiveAwareBehavior
Implements
IRegionBehavior
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.Behaviors
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public class RegionActiveAwareBehavior : IRegionBehavior

Fields

View Source

BehaviorKey

Name that identifies the RegionActiveAwareBehavior behavior in a collection of IRegionBehavior.

Declaration
public const string BehaviorKey = "ActiveAware"
Field Value
Type Description
System.String

Properties

View Source

Region

The region that this behavior is extending

Declaration
public IRegion Region { get; set; }
Property Value
Type Description
IRegion

Methods

View Source

Attach()

Attaches the behavior to the specified region

Declaration
public void Attach()
View Source

Detach()

Detaches the behavior from the System.Collections.Specialized.INotifyCollectionChanged.

Declaration
public void Detach()

Implements

IRegionBehavior

Extension Methods

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