EditLinkAttribute class
namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
Indicates that the property this attribute placed on should have an edit link
[AttributeUsage(AttributeTargets.All)]
public sealed class EditLinkAttribute : Attribute
Public Members
| name | description |
|---|---|
| EditLinkAttribute() | Creates a new EditLink attribute |
| EditLinkAttribute(…) | Creates a new EditLink attribute with enable/disable option |
| CssClass { get; set; } | Gets/sets optional css class to add to edit links |
| IdField { get; set; } | Gets/sets from which property 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/sets edit link enable state |
See Also
- Source: EditLinkAttribute.cs