Table of Contents

Class PromptScreenBase<TModel>

Namespace
Dynamicweb.CoreUI.Screens
Assembly
Dynamicweb.CoreUI.dll
public abstract class PromptScreenBase<TModel> : ScreenBase<TModel> where TModel : DataViewModelBase, new()

Type Parameters

TModel
Inheritance
ScreenBase<TModel>
PromptScreenBase<TModel>
Derived
Inherited Members

Properties

ReloadTypeOnSuccess

protected ReloadType ReloadTypeOnSuccess { get; set; }

Property Value

ReloadType

ShadowEdit

protected ShadowEdit<TModel>? ShadowEdit { get; set; }

Property Value

ShadowEdit<TModel>

Methods

AddComponent(UiComponentBase?, string)

protected void AddComponent(UiComponentBase? component, string heading)

Parameters

component UiComponentBase
heading string

AddComponents(IEnumerable<UiComponentBase?>, string)

protected void AddComponents(IEnumerable<UiComponentBase?> components, string heading)

Parameters

components IEnumerable<UiComponentBase>
heading string

AddDynamicFields(Expression<Func<TModel, FieldGroupCollection>>)

protected void AddDynamicFields(Expression<Func<TModel, FieldGroupCollection>> expression)

Parameters

expression Expression<Func<TModel, FieldGroupCollection>>

BuildPromptScreen()

protected abstract void BuildPromptScreen()

ConfigureOkAction(RunCommandAction)

protected virtual RunCommandAction ConfigureOkAction(RunCommandAction action)

Parameters

action RunCommandAction

Returns

RunCommandAction

EditorForCommand<TCommand, T>(Expression<Func<TCommand, T>>)

protected EditorBase? EditorForCommand<TCommand, T>(Expression<Func<TCommand, T>> expression) where TCommand : CommandBase

Parameters

expression Expression<Func<TCommand, T>>

Returns

EditorBase

Type Parameters

TCommand
T

EditorForCommand<TCommand, T>(Expression<Func<TCommand, T>>, string?)

protected EditorBase? EditorForCommand<TCommand, T>(Expression<Func<TCommand, T>> expression, string? label) where TCommand : CommandBase

Parameters

expression Expression<Func<TCommand, T>>
label string

Returns

EditorBase

Type Parameters

TCommand
T

EditorForCommand<TCommand, T>(Expression<Func<TCommand, T>>, string?, TCommand?)

protected EditorBase? EditorForCommand<TCommand, T>(Expression<Func<TCommand, T>> expression, string? label, TCommand? command) where TCommand : CommandBase

Parameters

expression Expression<Func<TCommand, T>>
label string
command TCommand

Returns

EditorBase

Type Parameters

TCommand
T

EditorForQuery<TQuery, T>(Expression<Func<TQuery, T>>)

protected EditorBase? EditorForQuery<TQuery, T>(Expression<Func<TQuery, T>> expression) where TQuery : DataQueryBase

Parameters

expression Expression<Func<TQuery, T>>

Returns

EditorBase

Type Parameters

TQuery
T

EditorForQuery<TQuery, T>(Expression<Func<TQuery, T>>, string?)

protected EditorBase? EditorForQuery<TQuery, T>(Expression<Func<TQuery, T>> expression, string? label) where TQuery : DataQueryBase

Parameters

expression Expression<Func<TQuery, T>>
label string

Returns

EditorBase

Type Parameters

TQuery
T

EditorForQuery<TQuery, T>(Expression<Func<TQuery, T>>, string?, TQuery?)

protected EditorBase? EditorForQuery<TQuery, T>(Expression<Func<TQuery, T>> expression, string? label, TQuery? query) where TQuery : DataQueryBase

Parameters

expression Expression<Func<TQuery, T>>
label string
query TQuery

Returns

EditorBase

Type Parameters

TQuery
T

EditorFor<T>(Expression<Func<TModel, T>>)

protected EditorBase? EditorFor<T>(Expression<Func<TModel, T>> expression)

Parameters

expression Expression<Func<TModel, T>>

Returns

EditorBase

Type Parameters

T

EditorFor<T>(Expression<Func<TModel, T>>, string?)

protected EditorBase? EditorFor<T>(Expression<Func<TModel, T>> expression, string? label)

Parameters

expression Expression<Func<TModel, T>>
label string

Returns

EditorBase

Type Parameters

T

GetDefinitionInternal()

protected override sealed UiComponentBase GetDefinitionInternal()

Returns

UiComponentBase

GetEditor(string)

protected virtual EditorBase? GetEditor(string propertyName)

Parameters

propertyName string

Returns

EditorBase

GetEditorForCommand(string)

protected virtual EditorBase? GetEditorForCommand(string propertyName)

Parameters

propertyName string

Returns

EditorBase

GetEditorForQuery(string)

protected virtual EditorBase? GetEditorForQuery(string propertyName)

Parameters

propertyName string

Returns

EditorBase

GetOkAction()

protected virtual ActionBase? GetOkAction()

Returns

ActionBase

GetOkActionName()

protected virtual string GetOkActionName()

Returns

string

GetOkCommand()

protected virtual CommandBase<TModel>? GetOkCommand()

Returns

CommandBase<TModel>

GetScreenName()

protected abstract string GetScreenName()

Returns

string
To top