Class OverviewScreenBase<TModel>
- Namespace
- Dynamicweb.CoreUI.Screens
- Assembly
- Dynamicweb.CoreUI.dll
public abstract class OverviewScreenBase<TModel> : ScreenBase<TModel> where TModel : DataViewModelBase
Type Parameters
TModel
- Inheritance
-
ScreenBase<TModel>OverviewScreenBase<TModel>
- Inherited Members
Properties
ShowCloseAction
protected bool ShowCloseAction { get; set; }
Property Value
Methods
AddComponent(UiComponentBase?, string?, GroupWidth, Icon?, ContextMenu?, string?)
Adds a Widget to the overview screen with the given heading and width containing the given component.
protected void AddComponent(UiComponentBase? component, string? heading = null, Group.GroupWidth width = GroupWidth.Col_6, Icon? icon = null, ContextMenu? contextMenu = null, string? color = null)
Parameters
componentUiComponentBaseThe content of the widget.
headingstringThe heading of the widget, if given.
widthGroup.GroupWidthThe width of the container, if given.
iconIconcontextMenuContextMenucolorstring
AddComponent(string?, UiComponentBase?, string?, GroupWidth, Icon?, ContextMenu?, string?)
Adds a Widget to the overview screen with the given heading and width containing the given component.
protected void AddComponent(string? tabName, UiComponentBase? component, string? heading = null, Group.GroupWidth width = GroupWidth.Col_6, Icon? icon = null, ContextMenu? contextMenu = null, string? color = null)
Parameters
tabNamestringThe name of the tab in which the widget goes.
componentUiComponentBaseThe content of the widget.
headingstringThe heading of the widget, if given.
widthGroup.GroupWidthThe width of the container, if given.
iconIconcontextMenuContextMenucolorstring
AddWidget(Widget, GroupWidth)
protected void AddWidget(Widget widget, Group.GroupWidth width = GroupWidth.Col_6)
Parameters
widgetWidgetwidthGroup.GroupWidth
AddWidget(string?, Widget, GroupWidth)
protected void AddWidget(string? tabName, Widget widget, Group.GroupWidth width = GroupWidth.Col_6)
Parameters
tabNamestringwidgetWidgetwidthGroup.GroupWidth
BuildOverviewScreen()
protected abstract void BuildOverviewScreen()
GetDefinitionInternal()
protected override sealed UiComponentBase GetDefinitionInternal()
Returns
GetScreenActions()
protected virtual IEnumerable<ActionGroup>? GetScreenActions()
Returns
GetScreenName()
protected abstract string GetScreenName()
Returns
SetInfobar(InfoBar?)
protected void SetInfobar(InfoBar? bar)
Parameters
barInfoBar