Skip to content

HideOnUpdateAttribute class

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Controls whether this field is visible in edit record mode.

[AttributeUsage(AttributeTargets.All)]
public class HideOnUpdateAttribute : Attribute
parameter description
value True to hide the field on update.

Public Members

name description
HideOnUpdateAttribute(…) Controls whether this field is visible in edit record mode.
Value { get; } Gets a value indicating whether this HideOnUpdateAttribute is on.

Remarks

When placed on a field, this attribute controls whether the field is hidden when editing an existing record.

See Also