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.
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.Regions.Behaviors
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public class RegionActiveAwareBehavior : IRegionBehavior
Fields
View SourceBehaviorKey
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 SourceRegion
The region that this behavior is extending
Declaration
public IRegion Region { get; set; }
Property Value
Type | Description |
---|---|
IRegion |
Methods
View SourceAttach()
Attaches the behavior to the specified region
Declaration
public void Attach()
Detach()
Detaches the behavior from the System.Collections.Specialized.INotifyCollectionChanged.
Declaration
public void Detach()