HideOnUpdateAttribute [Common]

Estrusco edited this page Jul 21, 2016 · 1 revision
Clone this wiki locally

[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: