Skip to content

UI HideOnUpdateAttribute [Common]

Victor Tomaili edited this page May 3, 2021 · 1 revision

[namespace: Serenity.ComponentModel] - [assembly: Serenity.Core]

This attribute con be used to make invisible a field only when you are in Update Mode.

The field is not visible, but accessible from script side.

[BasedOnRow(typeof(Entities.XYZRow))]
public class XYZForm
{
    [HideOnUpdate]
    public String MyField { get; set; }

    [...]

See also:

Clone this wiki locally