Table of Contents

Class SetScreenPropertyAction

Namespace
Dynamicweb.CoreUI.Actions.Implementations
Assembly
Dynamicweb.CoreUI.dll
public class SetScreenPropertyAction : ActionBase
Inheritance
SetScreenPropertyAction
Inherited Members

Methods

For(Expression<Func<ScreenBase, object?>>, string?)

public static SetScreenPropertyAction For(Expression<Func<ScreenBase, object?>> propertyExpression, string? value)

Parameters

propertyExpression Expression<Func<ScreenBase, object>>
value string

Returns

SetScreenPropertyAction

For<TScreen>(Expression<Func<TScreen, object?>>, string?)

Creates an action that updates the screen property selected by propertyExpression.

public static SetScreenPropertyAction For<TScreen>(Expression<Func<TScreen, object?>> propertyExpression, string? value)

Parameters

propertyExpression Expression<Func<TScreen, object>>

An expression selecting the screen property to update.

value string

The property value. A null or empty value removes the URL parameter.

Returns

SetScreenPropertyAction

An action that updates the property in the current workspace URL and reloads the screen.

Type Parameters

TScreen

The type declaring the screen property.

To top