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
Model
public object? Model { get; set; }
Property Value
ModelType
public Type? ModelType { get; set; }
Property Value
Methods
AddComponent(UiComponentBase)
Adds a non-editor component, such as a display, to the screen.
protected void AddComponent(UiComponentBase component)
Parameters
componentUiComponentBase
AddEditor(EditorBase)
protected void AddEditor(EditorBase editor)
Parameters
editorEditorBase
BuildEditScreen()
protected virtual void BuildEditScreen()
GetDefinitionInternal()
Builds and returns the raw component tree for this screen.
protected override sealed UiComponentBase GetDefinitionInternal()
Returns
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
propertyNamestring
Returns
GetScreenName()
protected virtual string GetScreenName()
Returns
PropertyNameToLabel(string)
public static string PropertyNameToLabel(string propertyName)
Parameters
propertyNamestring