Skip to content

UI HideOnInsertAttribute [Common]

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

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

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

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

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

    [...]

See also:

Clone this wiki locally