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
propertyExpressionExpression<Func<ScreenBase, object>>valuestring
Returns
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
propertyExpressionExpression<Func<TScreen, object>>An expression selecting the screen property to update.
valuestringThe 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
TScreenThe type declaring the screen property.