Class RegionBehavior
Provides a base class for region's behaviors.
Inheritance
RegionBehavior
Implements
Namespace: Sartorius.SAF.Presentation.Regions
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public abstract class RegionBehavior : IRegionBehavior
Properties
View SourceIsAttached
Declaration
public bool IsAttached { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Region
Behavior's attached region.
Declaration
public IRegion Region { get; set; }
Property Value
| Type | Description |
|---|---|
| IRegion |
Methods
View SourceAttach()
Attaches the behavior to the region.
Declaration
public void Attach()
OnAttach()
Override this method to perform the logic after the behavior has been attached.
Declaration
protected abstract void OnAttach()