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
component
UiComponentBaseThe content of the widget.
heading
stringThe heading of the widget, if given.
width
Group.GroupWidthThe width of the container, if given.
icon
IconcontextMenu
ContextMenucolor
string
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
tabName
stringThe name of the tab in which the widget goes.
component
UiComponentBaseThe content of the widget.
heading
stringThe heading of the widget, if given.
width
Group.GroupWidthThe width of the container, if given.
icon
IconcontextMenu
ContextMenucolor
string
AddWidget(Widget, GroupWidth)
protected void AddWidget(Widget widget, Group.GroupWidth width = GroupWidth.Col_6)
Parameters
widget
Widgetwidth
Group.GroupWidth
AddWidget(string?, Widget, GroupWidth)
protected void AddWidget(string? tabName, Widget widget, Group.GroupWidth width = GroupWidth.Col_6)
Parameters
tabName
stringwidget
Widgetwidth
Group.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
bar
InfoBar