LgAuthorizeView
Module : Lagoon.UI
Namespace : Lagoon.UI.Components
Catégorie : Policy
Hérite de : ComponentBase
Component used to define the 'PolicyVisible' and 'PolicyEdit' properties and apply the defined policies to children
Paramètres
| Paramètre | 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 |
Paramètres en cascade
| Paramètre | Type | Description |
|---|---|---|
ParentAuthorizeView | LgAuthorizeView | To retrieve policy defined by ParentAuthorizeView |