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
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 |
|---|---|
| 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 INotifyCollectionChanged.
Declaration
public void Detach()