Aller au contenu principal

LgApp

Module : Lagoon.UI
Namespace : Lagoon.UI.Components
Catégorie : Layouts
Hérite de : LgComponentBase

The App component must be used as the root component of the app. (App.razor)

Paramètres​

ParamètreTypeDescription
AuthorizingRenderFragmentThe content that will be displayed while asynchronous authorization is in progress.
ChildContentRenderFragmentThe child content.
DefaultLayoutTypeGets or sets the type of a layout to be used if the page does not declare any layout. If specified, the type must implement IComponent and accept a parameter named Body.
ErrorContentRenderFragment<Exception>The content to display when an unhandled error occurs.
FooterContentRenderFragmentThe layout footer content.
IsTabbedboolGets or sets if the application use tabbed navigation else the simple page navigation is used.
NotAuthorizedRenderFragment<AuthenticationState>The content that will be displayed if the user is not authorized.
NotFoundRenderFragmentGets or sets the content to display when no match is found for the requested route.
ShowFooterboolDisplay footer into app layout ?
ShowHeaderboolDisplay header into app layout ?
ShowSidebarboolDisplay sidebar into app layout ?
StartupTabsRenderFragmentThe list of LgStartupTab to define the pages to open when application startup. (Only used when the parameter "IsTabbed" is true.