HideOnInsertAttribute class
namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
Controls whether this field is visible in new record mode.
[AttributeUsage(AttributeTargets.All)]
public class HideOnInsertAttribute : Attribute
| parameter | description |
|---|---|
| value | True to hide the field on insert. |
Public Members
| name | description |
|---|---|
| HideOnInsertAttribute(…) | Controls whether this field is visible in new record mode. |
| Value { get; } | Gets a value indicating whether this HideOnInsertAttribute is on. |
Remarks
When placed on a field, this attribute controls whether the field is hidden when creating a new record.
See Also
- Source: HideOnInsertAttribute.cs