Aller au contenu principal

LgTabContainer

Module : Lagoon.UI
Namespace : Lagoon.UI.Components
Catégorie : TabContainer
Hérite de : LgCustomTabContainer

Tab container

Paramètres​

ParamètreTypeDescription
AfterHeaderContentRenderFragmentContent to place at the end of the header.
AllowCloseboolGets or sets if the tabs can be closed
AllowDragDropboolGets or sets if the tabs can be moved
BeforeHeaderContentRenderFragmentContent to place at the beginning of the header.
OnDropTabEventCallback<DropTabEventArgs>Drop tab event
ShowTabListboolShow in the toolbar, the dropdown menu of the list of openned tabs.

Paramètres hérités de LgCustomTabContainer​

ParamètreTypeDescription
ActiveTabKeystringGets or sets Active tab
ActiveTabKeyChangedEventCallback<string>Allow binding on "ActiveTabKey". This allows the developer to manage the tab to select by manipulating the ActiveTabKey property
ChildContentRenderFragmentGets or sets content of the tab container
CssClassstringGets or sets css class of the tab container
DefaultActiveTabKeystringGets or sets the tab activated by default.
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.
GetTabKeyFromUriFunc<string, string>Gets or sets the method to customize the tab key generation from the URI parameter.
OnActivateTabEventCallback<ActivateTabEventArgs>Gets or sets event rise when tab is activated
OnCloseTabEventCallback<CloseTabEventArgs>Gets or sets event rise when tab is removed
OnClosingTabEventCallback<ClosingTabEventArgs>Gets or sets event rise before tab is removed
PreloadTabContentboolGets or sets if tab contents must be preload by default.
ReloadDisabledboolGet or sets if the active tab content can be reload on click. Default : false, if the tab has an url or an event handler on the OnReload, the reload button is shown.

Paramètres hérités de LgAriaComponentBase​

ParamètreTypeDescription
AriaLabelstringGets or sets aria label
AriaLabelledBystringGets or sets id of component for aria label