EditLinkAttribute class
namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
Indicates that the property this attribute is placed on should have an edit link.
[AttributeUsage(AttributeTargets.All)]
public sealed class EditLinkAttribute : Attribute
Public Members
| name | description |
|---|---|
| EditLinkAttribute() | Creates a new EditLinkAttribute. |
| EditLinkAttribute(…) | Creates a new EditLinkAttribute with enable/disable option. |
| CssClass { get; set; } | Gets or sets the optional CSS class to add to edit links. |
| IdField { get; set; } | Gets or sets the property from which this edit link should get its ID value to edit. |
| ItemType { get; set; } | Optional item type that this edit link should open. It should match the dialog namespace / class name. |
| Value { get; } | Gets or sets the edit link enable state. |
See Also
- Source: EditLinkAttribute.cs