RegionBehaviorFactory.CreateFromKey Method
Creates an instance of the behavior Type that is registered using the specified key.
Namespace: Microsoft.Practices.Prism.Regions
Assembly: Microsoft.Practices.Prism (in Microsoft.Practices.Prism.dll)
Syntax
public IRegionBehavior CreateFromKey(
string key
)
'Declaration
Public Function CreateFromKey ( _
key As String _
) As IRegionBehavior
Parameters
- key
Type: System.String
The key that is used to register a behavior type.
Return Value
A new instance of the behavior.
Implements
IRegionBehaviorFactory.CreateFromKey(String)