Class ViewRegisteredEventArgs
Argument class used by the ContentRegistered event when a new content is registered.
Namespace: Sartorius.SAF.Presentation.Regions
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public class ViewRegisteredEventArgs : EventArgs
Constructors
View SourceViewRegisteredEventArgs(string, Func<object>)
Initializes the ViewRegisteredEventArgs class.
Declaration
public ViewRegisteredEventArgs(string regionName, Func<object> getViewDelegate)
Parameters
| Type | Name | Description |
|---|---|---|
| string | regionName | The region name to which the content was registered. |
| Func<object> | getViewDelegate | The content which was registered. |
Properties
View SourceGetView
Gets the content which was registered.
Declaration
public Func<object> GetView { get; }
Property Value
| Type | Description |
|---|---|
| Func<object> |
RegionName
Gets the region name to which the content was registered.
Declaration
public string RegionName { get; }
Property Value
| Type | Description |
|---|---|
| string |