Table of Contents

Class ScreenPresetRelationsEditScreen

Namespace
Dynamicweb.CoreUI.Data.ScreenConfiguration
Assembly
Dynamicweb.CoreUI.dll
public sealed class ScreenPresetRelationsEditScreen : PromptScreenBase<ScreenPresetRelationsDataModel>
Inheritance
ScreenPresetRelationsEditScreen
Inherited Members

Methods

BuildPromptScreen()

protected override void BuildPromptScreen()

GetEditor(string)

Returns a custom editor for a named property of ScreenPresetRelationsDataModel. Called by EditorFor<T>(Expression<Func<TModel, T>>) before falling back to the default editor.

protected override EditorBase? GetEditor(string propertyName)

Parameters

propertyName string

The property name for which an editor is requested.

Returns

EditorBase

A custom editor, or null to use the default editor for the property type.

GetOkAction()

Returns the action assigned to the primary (OK/Create) button. The default implementation wraps the command returned by GetOkCommand() in a RunCommandAction. Override for full control over the submit action.

protected override ActionBase? GetOkAction()

Returns

ActionBase

The submit action, or null to render no primary button.

GetOkActionName()

Returns the label shown on the primary action button. Defaults to "Create".

protected override string GetOkActionName()

Returns

string

A non-empty string for the button label.

GetScreenName()

Returns the display name shown in the screen header.

protected override string GetScreenName()

Returns

string

A non-empty string identifying this screen to the user.

To top