Interface IRegionBehaviorCollection
Defines the interface for a collection of IRegionBehavior classes on a Region.
      System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, Sartorius.SAF.Presentation.Regions.IRegionBehavior>>.GetEnumerator()
    
    
      System.Collections.IEnumerable.GetEnumerator()
    
    Namespace: Sartorius.SAF.Presentation.Regions
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public interface IRegionBehaviorCollection : IEnumerable<KeyValuePair<string, IRegionBehavior>>, IEnumerable
  Properties
View SourceItem[String]
Gets the IRegionBehavior with the specified key.
Declaration
IRegionBehavior this[string key] { get; }
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | key | 
Property Value
| Type | Description | 
|---|---|
| IRegionBehavior | The registered IRegionBehavior  | 
      
Methods
View SourceAdd(String, IRegionBehavior)
Adds a IRegionBehavior to the collection, using the specified key as an indexer.
Declaration
void Add(string key, IRegionBehavior regionBehavior)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | key | The key that specifies the type of IRegionBehavior that's added.  | 
      
| IRegionBehavior | regionBehavior | The IRegionBehavior to add.  | 
      
ContainsKey(String)
Checks if a IRegionBehavior with the specified key is already present.
Declaration
bool ContainsKey(string key)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | key | The key to use to find a particular IRegionBehavior.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Boolean |