LgAuthorizeView
Module : Lagoon.UI
Namespace : Lagoon.UI.Components
Category: Policy
Inherits from: ComponentBase
Component used to define the 'PolicyVisible' and 'PolicyEdit' properties and apply the defined policies to children
Parameters
| Parameter | Type | Description |
|---|---|---|
Authorized | RenderFragment<AuthenticationState> | The content that will be displayed if the user is authorized. If you specify a value for this parameter, do not also specify a value for ChildContent. |
Authorizing | RenderFragment | The content that will be displayed while asynchronous authorization is in progress. |
ChildContent | RenderFragment | The content that will be displayed if the user is authorized. |
CssClass | string | Gets or sets the DIV CSS class |
NotAuthorized | RenderFragment<AuthenticationState> | The content that will be displayed if the user is not authorized. |
PolicyEdit | string | Get or set the policy wich allow to edit a control |
PolicyVisible | string | Get or set the policy wich allow to show a control |
ShowDiv | bool? | Indicate if the LgAuthorizeView should encapsulate it's content in a div |
Cascading parameters
| Parameter | Type | Description |
|---|---|---|
ParentAuthorizeView | LgAuthorizeView | To retrieve policy defined by ParentAuthorizeView |