Table of Contents

Class EntityEditScreen

Namespace
Dynamicweb.CoreUI.Screens.Implementations
Assembly
Dynamicweb.CoreUI.dll
public class EntityEditScreen : ScreenBase
Inheritance
EntityEditScreen
Derived
Inherited Members

Properties

EditorContext

public string? EditorContext { get; set; }

Property Value

string

Model

public object? Model { get; set; }

Property Value

object

ModelType

public Type? ModelType { get; set; }

Property Value

Type

Methods

AddComponent(UiComponentBase)

Adds a non-editor component, such as a display, to the screen.

protected void AddComponent(UiComponentBase component)

Parameters

component UiComponentBase

AddEditor(EditorBase)

protected void AddEditor(EditorBase editor)

Parameters

editor EditorBase

BuildEditScreen()

protected virtual void BuildEditScreen()

GetDefinitionInternal()

Builds and returns the raw component tree for this screen.

protected override sealed UiComponentBase GetDefinitionInternal()

Returns

UiComponentBase

Remarks

Implement this method in every concrete screen class. The result is post-processed by GetDefinition() (injectors, trimming, preset actions) before being returned to the framework.

GetEditor(string)

protected virtual EditorBase? GetEditor(string propertyName)

Parameters

propertyName string

Returns

EditorBase

GetScreenName()

protected virtual string GetScreenName()

Returns

string

PropertyNameToLabel(string)

public static string PropertyNameToLabel(string propertyName)

Parameters

propertyName string

Returns

string
To top